DevTools Logo

Punctuation Checker

Punctuation Checker

Fix mechanical punctuation errors with named, explainable rules applied in your browser.

Runs in your browser
Try an example

Original text

Fixed text

No fixes yet

Type text above or load an OCR example.

About this tool

Clean mechanical punctuation errors with deterministic rules: collapse extra spaces, move spaces before marks to after them, normalize ellipses, deduplicate repeated commas, colons, exclamations and questions, optionally add final marks, and convert straight quotes with open/close inference. Backtick code spans are skipped by default, and the rules panel shows the count for each applied fix.

How to use this tool

  1. Paste your text

    Type or paste prose, OCR output or a canned reply into the input panel, or load an example chip.

  2. Choose the rules

    Toggle individual rules, select an ellipsis policy and decide whether final marks should be added or only flagged.

  3. Review the fixes

    The corrected text appears beside a list of applied rules with a count for each one.

  4. Copy the result

    Copy or download the fixed text. Your original wording and grammar are never changed.

Frequently asked questions

What punctuation errors does it fix?

It collapses repeated spaces (preserving line indentation), removes spaces before , . ; : ! ? and closing brackets, inserts a missing space after commas and semicolons, deduplicates repeated marks, normalizes ellipses, optionally adds final punctuation, and converts straight quotes when that rule is enabled.

Does it change my wording or grammar?

No. The tool is a deterministic rule pipeline: every change is punctuation or whitespace, and each rule reports its own count. It deliberately does not rewrite sentences, choose synonyms or correct agreement — the grammar checker handles those questions.

What's the rule for ?! together?

Mixed runs keep one of each mark in their original order, so What?!! becomes What?! and !?? becomes !?. A single-mark run is reduced to one mark: Really??? becomes Really?. Decimal points such as 3.14 are untouched because only repeated dots are collapsed.

Are smart quotes always better than straight quotes?

Not for code, data files or systems that require ASCII. The conversion is off by default. When enabled, a quote following a letter closes and a quote before a letter opens; apostrophes between letters become typographic apostrophes, so don't stays a contraction.

Does it touch code blocks?

No, as long as Skip code is on (the default). Inline backtick spans and fenced code blocks are passed through byte-for-byte, so examples, snippets and shell commands keep their exact spacing.

Is my text uploaded anywhere?

No. All rules run in this browser tab. Nothing is sent to a server or stored, and the fixed text can be copied or downloaded locally.