Straighten Smart Curly Quotes Online

Convert typographic curly double and single quotes into standard straight ASCII quotes for code, SQL, JSON, and terminals.

Straighten Smart Quotes converts 6 Unicode curly quote code points—double quotes U+201C (“), U+201D (”), U+201E („) → ASCII U+0022 (") and single quotes U+2018 (‘), U+2019 (’), U+201A (‚) → ASCII U+0027 (').

Fixed:
0 Characters
0 Words
0 Sentences
🧹 Remove
🔤 Convert
📑 Format
Copied to clipboard

Why Should You Straighten Curly Smart Quotes?

Straightening curly quotes replaces 3-byte Unicode punctuation (U+2018–U+201E) with 1-byte ASCII quotes (" and ') that compilers, JSON parsers, SQL engines, and shell terminals require.

Modern word processors (like Apple Pages, Microsoft Word, and Google Docs) automatically replace straight typewriter quotes with typographic curly smart quotes (“ ” ‘ ’). While aesthetically pleasing in print, curly quotes cause severe errors when pasted into:

  • Code Editors & Terminals: Syntax errors in Python, JavaScript, Shell scripts, Swift, and C++.
  • Data Formats: Parse errors in JSON, YAML, TOML, and XML files.
  • Databases: SQL query syntax failures.
  • Configuration Files: Broken environment settings in Docker, NGINX, and CI/CD pipelines.

What Unicode Quote Code Points Are Converted?

The engine runs s/[\u201C\u201D\u201E]/"/g and s/[\u2018\u2019\u201A]/'/g to convert all curved quotation marks and typographic apostrophes into straight ASCII equivalents:

Text Cleaner normalizes all regional and typographic curly quotes:

  • Left and Right Double Quotes (“ ”) → "
  • Left and Right Single Quotes (‘ ’) → '
  • German and Polish Low Double Quotes („ ”) → "
  • French and Italian Guillemets (« ») → "
  • Single Low Quotes and Apostrophes (‚ ’) → '

Worked Before / After Example: Input “Smart quotes” and ‘single curly quotes’ often cause syntax errors in “JSON” and code. (86 characters, 14 words, 6 curly quotes) → Output "Smart quotes" and 'single curly quotes' often cause syntax errors in "JSON" and code. (86 ASCII characters, 14 words; 4 double curly quotes → ", 2 single curly quotes → ').

Curly Quote Name & Unicode Code Point Target ASCII Code Point Input Example (Before) Output Result (After)
Left & Right Double Quotes (U+201C “, U+201D ”) U+0022 (") {“status”: “ok”} (16 chars, 24 bytes) {"status": "ok"} (16 chars, 16 bytes)
Left & Right Single Quotes (U+2018 ‘, U+2019 ’) U+0027 (') WHERE name = ‘O’Connor’ (23 chars) WHERE name = 'O'Connor' (23 chars)
Double Low-9 Quote (U+201E „) U+0022 (") „Hallo Welt” (12 chars) "Hallo Welt" (12 chars)
Single Low-9 Quote (U+201A ‚) U+0027 (') ‚Beispiel’ (10 chars) 'Beispiel' (10 chars)

How to use this tool:

  1. Paste or type your text into the editor box above.
  2. Click the highlighted action button to run the transformation instantly on your device.
  3. Click Copy to place the cleaned text onto your clipboard.

More Free Online Text Tools

Cleaning & Stripping
Clean Pasted Text Remove Em Dash Remove Line Breaks Remove Invisible Chars Straighten Quotes Strip HTML Strip Markdown
Case Converters
All 11 Case Converters Sentence Case camelCase Converter snake_case Converter
Formatting & Analytics
Remove Duplicate Lines Alphabetize List Word & Character Counter

Clean text from any app with the Share Sheet.

Select text in Safari, Mail, or Notes and share it to Clean Text. The cleaned version is copied back to your clipboard with a summary of what was fixed.

  • Works inside Safari, Mail, Notes, Word, and Slack
  • Counts and audits damage: '2 em dashes, 3 invisible characters removed'
  • 100% on-device: zero network requests, zero telemetry, full privacy
  • Available on iPhone, iPad, and Mac
Text Cleaner: Case Converter App Screenshot