Simply insert your text into the left textarea. This text will be then formatted immediately on the right side textarea.
You are free to choose between removing only duplicate spaces inside text or removing all spaces. Simply click on checkboxes located at the top of textareas
Where are extra spaces coming from?
Usually, apps like web browsers include extra spaces when copying text from more parts of the website.
Is it safe to paste text here?
This site is not storing or processing your pasted text on the server. Text is processed inside your browser. So you can paste text here without any worry.
How does this tool work?
For removing duplicate spaces:
string.replace(/ +(?= )/g,'')For removing every space:
This is the common way how to get rid of extra space.
How to remove duplicate lines?
To remove empty lines from the text, go to empty line remover tool. This tool is specialized for that job.