I use Plain Clip (https://www.bluem.net/en/mac/plain-clip/) which is a tiny application which will remove formatting from text in clipboard. It's meant to be triggered from a hotkey / launcher app like Alfred or Spotlight. One plus is that you can set preferences to remove extra spacing or new lines.