Convert Smart Quotes to Straight Quotes
About this tool
About Smart Quotes to Straight Quotes
Word processors, phones and publishing tools quietly turn "straight" quotes into “curly” ones and ' into ’. That looks nice in print, but breaks things elsewhere: code and JSON stop parsing, shell commands fail, CSV imports split columns oddly, and some forms and older systems reject or garble the characters. Paste the text and every curly double quote, single quote, apostrophe and low quote (including „ and the angled « » guillemets) becomes a plain ASCII quote, and with Dashes and … to ASCII on, en dashes become hyphens, em dashes become two hyphens, ellipses become three dots and bullet characters become hyphens. Prime marks for feet and inches are straightened too. The summary tells you how many characters were replaced, so you can confirm the paste was affected. Other clean-up options such as removing invisible characters and normalising non-breaking spaces are on by default, because they come from the same word-processor sources. Everything runs in your browser.
Built and maintained by Abhi JainUpdated
How to Convert Smart Quotes to Straight Quotes
- 1
Paste the text
Paste text from Word, Google Docs, a website or your phone.
- 2
Check the options
Straighten quotes and Dashes and … to ASCII are on. Untick the second to keep dashes and ellipses.
- 3
Copy the result
Copy or Download the plain-quote text.
Smart Quotes to Straight Quotes: questions and answers
Why do smart quotes break code?
Programming languages, JSON and shells only recognise the ASCII characters " (U+0022) and ' (U+0027) as quotes. “ (U+201C) and ’ (U+2019) are different characters, so the code sees them as text and fails.
How do I stop Word from adding smart quotes?
In Word, go to AutoCorrect Options, AutoFormat As You Type, and untick "Straight quotes" with “smart quotes”. On a Mac, turn off Use smart quotes and dashes in Keyboard, Text settings.
Are apostrophes converted too?
Yes: ’ in words like don’t becomes ', along with ‘ ‚ ‛ and the prime ′.
Is anything else changed?
Only what you tick. By default invisible characters are removed and unusual spaces become normal ones; untick those boxes to keep them.
More Text Cleaner presets
Related tools
- Sort LinesSort lines alphabetically, naturally, by number or by length; reverse or shuffle them, and remove duplicates.
- Find and ReplaceFind and replace text with several rules at once, plain or regex, match case, whole words and case-preserving replacement.
- Whitespace Visualizer & CleanerReveal tabs, NBSP, zero-width characters and mixed line endings, then clean them.
- Word CounterCount words, characters, sentences and paragraphs, with reading time, keyword density and limits.
- PDF to TXTExtract the text of a PDF into a plain .txt file, with page separators.