I'm curious what you searched for, because the majority of the very first page of Google search results agrees with me, actually. Two of these say define keyloggers in a way that is inherently malicious, most give a neutral definition. They do go on to say how such software can be used by criminals, but most do not say that keyloggers are inherently malicious, and some very specifically deny that:
https://www.csoonline.com/article/3326304/what-is-a-keylogge...:
> Keyloggers are a type of monitoring software designed to record keystrokes made by a user.
https://securelist.com/keyloggers-how-they-work-and-how-to-d...:
> The term ‘keylogger’ itself is neutral, and the word describes the program’s function.
https://en.wikipedia.org/wiki/Keystroke_logging:
> Keystroke logging, often referred to as keylogging or keyboard capturing, is the action of recording (logging) the keys struck on a keyboard, typically covertly, so that a person using the keyboard is unaware that their actions are being monitored.
https://home.sophos.com/en-us/security-news/2019/what-is-a-k...:
> A keylogger is an insidious form of spyware.
https://www.kaspersky.co.uk/resource-center/definitions/keyl...:
> Keyloggers are used for legitimate purposes like feedback for software development but can be misused by criminals to steal your data.
https://www.mcafee.com/blogs/consumer/family-safety/what-is-...:
> A keylogger (short for keystroke logger) is software that tracks or logs the keys struck on your keyboard, typically in a covert manner so that you don’t know that your actions are being monitored. This is usually done with malicious intent to collect your account information, credit card numbers, user names, passwords, and other private data.
https://searchsecurity.techtarget.com/definition/keylogger:
> Keyloggers are often used as a spyware tool by cybercriminals [...]. Keylogger recorders may also be used by: [...] These uses could be considered ethical or appropriate in varying degrees.
https://www.malwarebytes.com/keylogger/:
> Keyloggers are a common tool for corporations, which information technology departments use to troubleshoot technical problems on their systems and networks—or to keep an eye on employees surreptitiously. The same goes for, say, parents, who want to monitor their children’s activities.
https://enterprise.comodo.com/what-is-a-keylogger.php:
> At its most basic definition, a keylogger is a function which records or keystrokes on a computer. Taken at this basic level, a keylogger looks absolutely harmless. In the hands of a hacker or a cybercriminal, a keylogger is a potent tool to steal away your information.
https://us.norton.com/internetsecurity-malware-what-is-a-key...:
> A keylogger is a type of spyware that can be used to track and log the keys you strike on your keyboard, capturing any information typed. Keyloggers are insidious because you don’t know they’re there, watching and recording everything you type.