Skip to main content
FixLines

Straighten curly quotes

Replace smart quotes with plain straight quotes.

Editor

Ln 1, Col 10 lines0 words0 characters

Straighten curly quotes: what it does

Word processors and web pages turn straight quotes into curly ones, which breaks code, JSON and some forms. This tool puts plain single and double quotes back in place of every curly, low or reversed quote.

Straighten curly quotes: how to use it

  1. Paste the text with curly quotes.
  2. Select Apply.
  3. Copy the text with straight quotes.

Straighten curly quotes: when to use it

  • Paste a snippet written in Word or Google Docs into code, where curly quotes cause syntax errors.
  • Clean a configuration value, a command or a JSON sample copied from a blog post.
  • Normalize quotes in a text before searching or comparing it with another version.

Straighten curly quotes: examples

Fix quotes from a document

Input

“Hello,” she said. It’s fine.

Result

"Hello," she said. It's fine.
Fix a command copied from a document

Input

echo “Hello” ‘world’

Result

echo "Hello" 'world'

Straighten curly quotes: questions and answers

Which quotes does it replace?

Curly single and double quotes, including the low and reversed forms used in German, with straight ' and ".

Does it change apostrophes?

Yes. A curly apostrophe like the one in “it’s” becomes a straight one.

Does it change dashes or ellipses too?

No. Only quotation marks and apostrophes are replaced; dashes and other typographic characters stay.

Are angle quotes like « » replaced?

Yes. Guillemets used in French, German and other languages become straight double quotes.

Is my text sent to a server?

No. Everything runs in your browser on your own device, so your text never leaves it.

Tools people often use together with this one.

More in Clean upBrowse all text tools