Blog
Text tools

Dot to space replacer online

Paste text where periods were used instead of spaces — old typewriter formatting, some OCR output, or dotted filenames and domains — and every "." is turned into a space, with double spaces collapsed by default.

Your data never leaves this device

Result

Periods replaced

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Character replaced The period "." (U+002E) only
Collapse option On by default — merges runs of consecutive spaces into one
Counter Always counts the periods found in the original text, regardless of the collapse setting
Decimal numbers No special handling — "3.14" becomes "3 14"
Abbreviations No special handling — "e.g." becomes "e g "
Trailing period Also replaced, leaving a trailing space at the end of the result

When it misleads you

How it is calculated

The tool counts every period character in the text before making any changes.

Each period is then replaced with a single regular space.

If "collapse spaces" is on, a second pass merges any run of two or more consecutive spaces (including ones created by adjacent dots) down to one.

The counter always reflects the number of periods found in the original text, regardless of whether spaces were collapsed afterward.

Questions and answers

Does this handle decimal numbers specially?

No — every period is replaced the same way, so "3.14" becomes "3 14". If you're working with decimal numbers, this isn't the tool for that.

What does "collapse spaces" do?

It merges any run of consecutive spaces — including ones created by two or more dots in a row — down to a single space.

Will abbreviations like "e.g." get mangled?

Yes, every period is replaced regardless of context, so "e.g." turns into "e g " with extra spaces.

What's this useful for?

Recovering readable text where periods were typed instead of spaces — old typewriter formatting, some OCR output, or turning a dotted filename or domain into separate words.

Is my text sent anywhere?

No. Everything runs in your browser; the text is never transmitted.

Related tools

All tools