TOOL · ON YOUR DEVICE
Remove extra spaces from text
Text copied from PDFs, websites or emails brings extra spaces, odd line breaks and invisible characters. Paste it, choose what to clean and copy the clean text.
- Free account to copy or download
- Summary of fixes
- Your text stays on your device
- Paste your text
- Choose what to clean
- Copy
HOW TO USE IT
Three steps.
Paste your text
The text with extra spaces or line breaks.
Choose what to clean
Double spaces, line edges, invisibles, spaces before punctuation, blank lines or join into one paragraph.
Copy
Copy the clean text or download it as .txt.
NEXT STEP
Keep going with these tools
Remove extra spaces: common questions
What are invisible characters?
Zero-width spaces, non-breaking spaces and other characters you cannot see that break searches, counters or formulas. We remove them or turn them into a normal space.
Can I join lines from a PDF?
Yes: tick “Join into one paragraph” and line breaks become spaces.
Does anything else change?
Only the options you choose change the text, and letters, punctuation and emojis stay the same. Two things change without a tick: tab characters always become spaces, and by default runs of blank lines are reduced to one.
Is my text sent to a server?
No. Everything is calculated in your browser as you type; the text is not sent to Cocuyo or any third party and is not stored. You can check it in your browser’s network tools: your file is not sent.
How does access work?
You can clean text and view the result without an account. Copying or downloading it requires a free account. Local use does not consume credits or welcome uses.
What happens to blank lines?
The default option is “At most one”, so runs of several blank lines become one blank line. Choose “Keep” to leave them as they are, or “Remove all” to delete every blank line.
Does the tool show what it changed?
Yes. Under the result it lists what it fixed, such as runs of double spaces, lines trimmed and invisible characters, and it gives the character count before and after. If nothing needed fixing, it says “Nothing to clean.”
What happens to tab characters?
Tab characters always become normal spaces, and there is no option to keep them. If “Double spaces → one” is ticked, the spaces that result are merged with their neighbours as well.
Does it remove the space before a comma or a full stop?
Yes, if you tick “Space before , . ; : ! ?”, which is on by default. It removes spaces placed in front of , . ; : ! ? ) ] » ” and %.
MORE FREE TOOLS
Other text tools
All free tools
WHEN YOU WANT TO CREATE
Make new images with AI.
Cocuyo’s Studio brings 30+ AI models for image, video and voice together. You see the credit cost before generating, and credits never expire.
































































