Replace spaces with tabs online (Convert spaces to tabs)

This online tool replaces all the spaces with tabs in a text. Paste your text and press the button. The below is an example of an input and output.

a b
c  d
a   b
c       d

There are two spaces between "c" and "d" so there are two tabs between those in the output text.