What is textinputhost.exe?

Text Input Host · Microsoft

The touch keyboard, emoji panel and clipboard history.

Is it safe?

The real file is in C:\Windows\SystemApps.