# Replace spaces with commas - Online converter

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

a b
c  d
e

a,b
c,,d
,e


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