Smart quotes to straight quotes

Curly quotes break code, shell commands and JSON files. Paste text here to get straight quotes and a count of replacements.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter text and also convert « » guillemets.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

U+2018, U+2019, U+201A, U+201B and the prime ′ become '; U+201C, U+201D, U+201E, U+201F and the double prime ″ become ". Optionally « » become " and ‹ › become '.

Example

Inputs: Also convert « » guillemets = no. Result: Result: "Free delivery" applies to orders over 200 SAR, it's automatic.; Marks replaced: 3.

“Free delivery” applies to orders over 200 SAR, it’s automatic.
"Free delivery" applies to orders over 200 SAR, it's automatic.

Limits and caveats

  • Converting ′ and ″ also turns foot, inch, minute and second primes into ' and ".

Questions about this tool

Why does my code fail after copying from Word?

Word turns " into “ ” automatically, and programming languages do not accept those marks as string delimiters.

Are Arabic « » guillemets changed?

Not unless you enable that option, since they are correct punctuation in Arabic writing.

Does anything else in the text change?

No, only the marks listed in the formula.