Smart Quotes and Typography Fixer
Paste text with typewriter quotes and double hyphens and get proper “ ” ‘ ’, em or en dashes, …, non-breaking spaces and symbols, with every change highlighted.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Paste the text
Paste it, open a .txt, .md or .html file, or drop a file on the box.
- 2Pick the direction
Straight to smart for publishing, or smart back to plain for code and data.
- 3Choose the quote style
Select the language style and the dash style you need.
- 4Turn rules on or off
Ranges, ellipses, symbols, maths signs, French spacing and non-breaking spaces.
- 5Review the changes
Look at the highlighted view and the change table, and undo if a rule did too much.
- 6Copy the result
Copy or download the fixed text, or apply it to the input and continue editing.
Informazioni su questo strumento
Keyboards type the straight " and ' marks of the typewriter, but books, magazines and well-made websites use curly quotation marks, real dashes and a single ellipsis character. Word processors fix this as you type, yet text written in a code editor, a plain text field, a chat app or a Markdown file keeps the straight marks, and text pasted between programs often loses the fixes. This tool applies the rules in one pass. Double and single quotes are turned into opening and closing marks by looking at the characters around them, so a quote after a space or a bracket opens and a quote after a word or punctuation closes. Apostrophes are handled separately: don’t, rock ’n’ roll, the ’90s, ’tis and the students’ books all get the right-hand mark ’ that typesetters use, not an opening quote. Thirteen quote styles are built in, among them English “ ”, German „ “, French « » with the required spaces inside, Swiss « » ‹ ›, Spanish and Italian guillemets, Russian « » with „ “ inside, Polish „ ”, Swedish ” ”, Danish » « and Japanese 「 」. Two hyphens become an em dash, either closed up as in American style or spaced as an en dash as in British style, and number ranges such as 10-20 become 10–20 while phone numbers and ISO dates are left alone. Three dots become an ellipsis, (c) (r) (tm) become © ® ™, and optional rules handle 2 x 3 to 2 × 3, fractions and comparison signs. French spacing puts a narrow non-breaking space before ; ! ? and a non-breaking space before : and inside guillemets. Inline code in backticks, fenced code blocks and, in HTML mode, tags and entities are protected, so attributes and program text keep their straight quotes.
Which dash style to choose
American publishers mostly close up the em dash—like this—while British publishers and many newspapers use a spaced en dash – like this. Both are correct; pick one per document. A hyphen between two numbers means a range, and a range is written with an en dash: pages 12–18, 2024–25. Hyphens inside words such as well-known are never touched.
Going back to plain ASCII
Curly quotes break code, command lines, CSV imports and some SMS systems that count each curly mark as an extra character. The plain mode replaces every typographic quote, guillemet and corner bracket with " or ', dashes with - and --, the ellipsis with three dots, all special spaces with a normal space, deletes zero-width characters and soft hyphens, and spells out © ® ™ and arrows.
Checking the changes
The highlighted view strikes out each old piece and marks the new one, and the table lists every distinct change with how often it happened, so a wrong guess about an unusual quote is easy to spot and undo. Non-breaking spaces are shown as a small ⍽ in the preview only.
Limits
This is not a grammar checker and it cannot read meaning: a quote that opens right after a word, or nested quotes of the same kind, may need a manual fix. Abbreviations that start with an apostrophe beyond the common ones are treated as quotes. Code that is not marked with backticks or HTML code tags is processed like prose.
Esempio svolto
A 600-word article pasted from a code editor has 48 straight double quotes, 31 straight single quotes, 6 double hyphens and 4 groups of three dots. With English quotes, closed em dashes and ranges on, the tool makes 24 pairs of “ ”, 27 apostrophes and 2 pairs of ‘ ’, 6 em dashes, 4 ellipses and turns 1998-2004 into 1998–2004. The inline snippet `print("hi")` keeps its straight quotes. The change table shows 47 distinct edits, 85 in total.
In breve
- Categoria: Testo e scrittura
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: Unicode Standard, General Punctuation block U+2000 to U+206F
Domande frequenti
Will it break my HTML or Markdown?
Turn on Input is HTML and every tag, attribute and entity is skipped. Markdown inline code and fenced code blocks are skipped by default, so links and code samples keep their straight quotes.
How does it tell an apostrophe from a closing quote?
A mark between two letters is an apostrophe. A mark before two digits, as in ’90s, and before ’tis or ’n’ is an apostrophe too. After a word it closes an open single quote if there is one, and otherwise it is a possessive apostrophe.
Which quotes does German use?
Standard German opens low and closes high: „so“ and ‚so‘. Books often use reversed guillemets »so« instead; both styles are in the list.
What is French spacing?
French typography puts a space before two-part punctuation and inside guillemets. The tool inserts a narrow non-breaking space before ; ! ? and a normal non-breaking space before : and inside « », so the marks never start a new line.
Can I convert curly quotes back to straight ones?
Yes. Choose Smart back to plain ASCII. It is the safe option before pasting text into code, a CSV file, a database field or an old system that shows curly quotes as question marks.
Is the text uploaded?
No. All rules run in your browser, and the text is only kept in this browser so undo and redo work.
