Skip to content
hateitall

Smart Quotes Converter

Fix quotes that break code, JSON or a CSV, or give finished prose proper typographic quotes.

Processed locallyIn: Text, TXTOut: Text

Loading tool…

How to use smart quotes converter

  1. Paste your text.

  2. Choose curly to straight, or straight to curly.

  3. For curly, pick English, German or guillemet style and what to do with quotes after numbers.

  4. Copy or download the result.

What this tool does

  • Straightens every curly, low and reversed quote, and optionally guillemets and primes.
  • Curls apostrophes inside words (don't, O'Neil) and in years like '90s the right way.
  • Decides opening or closing from what comes before each quote, including brackets and dashes.
  • Leaves feet and inches such as 5'10" straight, turns them into primes, or curls them, as you choose.

How the result is verified

When curling, the result is straightened again and compared with your text; a match proves only quote marks changed. When straightening, the result is scanned for any curly quote left.

Frequently asked questions

Why do curly quotes break my code?

Programming languages, JSON and CSV only treat the straight characters " and ' as quotes. Text copied from Word, Pages or a website often has curly ones, which look alike but are different characters.

How does it know whether a quote opens or closes?

A quote at the start of the text, or after a space, bracket, dash or another opening quote, opens. A quote between two letters is an apostrophe. Anything else closes.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Hidden characters, spaces, blank lines and quotes cleaned in one pass

Text · TXT→ TextLight on device

Collapse runs of spaces and tabs into one space

Text · TXT→ TextLight on device

Turn text into a valid JSON string literal

Text→ TextLight on device

Plain or regex search, $1 groups, whole words and a change preview

Text · TXT→ TextLight on device