Replace Spaces Tool
Paste bounded text, choose the literal replacement, and process it locally in your browser.
A QUICK WALKTHROUGH
How to use this tool
- Enter up to 100,000 UTF-16 code units.
- Enter replacement text up to 1,000 UTF-16 code units.
- Replace each U+0020 space and review or copy the result.
ASCII spaces only
The tool matches U+0020 exactly. Tabs, line breaks, non-breaking spaces, other Unicode whitespace, punctuation, and letters are preserved.
Literal replacement
The replacement is inserted exactly as entered; regular-expression syntax has no special meaning. Processing stays in this browser and text is not uploaded or stored.
GOOD TO KNOW
Common questions
Can I replace spaces with more than one character?
Yes. Enter any literal replacement string up to 1,000 UTF-16 code units.
Are tabs or line breaks replaced?
No. Only U+0020 ASCII spaces are replaced.