About Smart Quotes to Straight Quotes
Word processors and phones turn quotes into curly ones as you type. That looks right in a document but breaks code, JSON, command lines, CSV imports and some older systems. Paste the text here to get plain straight quotes, ASCII hyphens and three dots back.
Going the other way, Straight to curly turns typed quotes into opening and closing ones from their context, recognises apostrophes in words like "don’t" and "’90s", and turns double hyphens into em dashes.
How it works
- Curly to straight replaces single and double curly quotes (including low and reversed ones) and prime marks with ' and ", en dashes, minus signs and hyphen variants with -, em dashes with --, and the ellipsis character with three dots.
- Straight to curly decides each quote from the character before it: after a space, a bracket, a dash or the start of the text it opens; otherwise it closes. A quote before "90s", "tis", "em" or "n" is an apostrophe.
- In that direction, -- and --- become an em dash, a hyphen with a space on each side becomes an en dash, and three dots become an ellipsis.
Questions
Are guillemets such as « and » changed?
No. They are the correct quotation marks in French and many other languages, not a typing accident, so they are left alone along with every other character not listed here.
Will Straight to curly get every quote right?
It follows the same context rules typesetting tools use and gets ordinary prose right. Unusual cases, such as a quote that opens straight after a letter, or inch marks after a number, may need fixing by hand. Do not use it on code.
Why does an em dash become two hyphens?
Two hyphens is the usual way to type an em dash in plain text, and it lets Straight to curly turn it back into the same dash.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.