Text tool

Punctuation Fixer

Format copied text by adjusting repeated spaces and punctuation.

Characters: 0 | Words: 0

How the punctuation and spacing fixer works

Paste a sample into the fixer and choose the smallest change that matches your task. Fix Spaces adds a space after common punctuation and collapses repeated spaces. Fix Punctuation reduces repeated marks such as commas, question marks, and exclamation points. Fix Everything runs both operations.

Example

Hello,world test!!! becomes Hello, world test! when both operations are applied.

Review the result

Automatic formatting can change intentional line breaks, quotations, or repeated punctuation. Compare the output with the original before copying it into a document.

What each button actually does

The three buttons do not split one job three ways. Two of them handle whitespace and one handles punctuation, and Fix Everything runs both in that order. Knowing which is which saves a second pass.

Fix Spaces

  • Opens up a word that has been typed or pasted hard against its punctuation, so hello,world becomes hello, world.
  • Collapses any run of spaces or tabs down to a single space.
  • Collapses stacked blank lines down to one blank line, so a paragraph break survives.

Fix Punctuation

  • Collapses a repeated mark down to one, so really??? becomes really? and yes,,, becomes yes,. The same applies to straight quotes, apostrophes and forward slashes.
  • Leaves a run of exactly three dots as an ellipsis. Any other run of two or more becomes a single period, which is worth knowing before you rely on it.

Fix Everything

Both of the above, whitespace first. Use this when you are unsure which problem you have, which is usual for text that came out of a PDF or an email chain.

A worked example

Pasted from a PDF, you might have Total , due March 3rd.The discount applies,,, to orders over £50. Fix Everything turns that into Total, due March 3rd. The discount applies, to orders over £50 — the stray space before the comma gone, the run of spaces collapsed, the missing space after the full stop restored, and the tripled comma reduced to one.

What it will not do, and when that matters

  • It does not correct spelling, grammar, or agreement. It only tidies the characters between words.
  • It cannot tell an abbreviation from a mistake. In etc. The next part it is right to capitalise after the full stop, but in approx. 5 units the space it removes may have been deliberate.
  • It will damage anything where spacing carries meaning: tables, ASCII diagrams, code, poetry, and text aligned in columns. Run it on a copy, and read the result before you use it.
  • It always applies a comma-space, which is not universal. Some house styles and some languages set a narrow space after a comma, or none at all.

Copying the result

The copy button uses the modern clipboard where the browser allows it. On a page served over plain HTTP it falls back to selecting the text and asking the browser to copy it, which is why the button still works but may need a second press. Either way the text goes to your own clipboard and is not sent anywhere.

What the checker can see, and what it cannot

This compares the text of two documents and reports what changed. It is a text comparison, which means it finds added, removed, and altered wording reliably and does not attempt to judge whether a change is an improvement.

Formatting is not compared. A paragraph that moved from bold to italic, a table that was restyled, or a heading level that changed will not appear, because those are properties of the layout rather than of the words. If you need to review formatting changes, compare the rendered documents side by side.

The order of comparison matters. Comparing an older version against a newer one makes additions read as additions; reversing them makes the same changes read as deletions, which is confusing when you come back to the report later. Put the version you are treating as the original first.

Long documents produce long reports. Reading the whole diff is rarely necessary, so start from the count of changes and work down to the individual lines only where something unexpected appears.

Further reading: Read the full guide: Punctuation Fixer

Common questions

What does it actually fix?

Three groups of problems. Missing spaces after a full stop, comma, question mark, exclamation mark, colon or semicolon. Runs of repeated spaces, tabs and blank lines. And repeated commas, question marks, exclamation marks and slashes. Fix Spaces and Fix Punctuation apply groups separately; Fix Everything does both.

Is my text uploaded?

No. It works by pattern replacement in this tab, and nothing is sent to a server.

Will it change my wording?

It does not rephrase, respell, or change British to American spelling. It inserts missing spaces and collapses repeated characters — but that last part is still a change, because "wow!!" becomes "wow!" and "really??" becomes "really?". If you typed those deliberately, this will undo them.

Does it deal with apostrophes and quotes?

No. It will not straighten curly quotes or fix a misplaced apostrophe in "its" versus "it's". Those need a decision about which one you meant, and a pattern rule would guess wrong about as often as right.

What about URLs and file paths?

There is a real risk here. It collapses repeated slashes, so a URL with a deliberate double slash will have it removed and stop working. Paste any addresses through it last, or check them afterwards.