The unexpand command is a utility from the GNU core utilities package that is used primarily for converting spaces into tab characters in a given text file or input stream.