InputTestHub

Smart Quotes Converter

Converts straight quotes to typographic curly quotes, or curly quotes back to straight, without touching code inside backticks.

Text Nothing uploaded No sign-up Free, unlimited
Text tool
Paste something on the left to see the result.
In short Smart quotes are the typographic curly forms — “ ” for double and ‘ ’ for single — as opposed to the straight ASCII " and ' that a keyboard produces. Converting in either direction is a common need for opposite reasons. Going to curly is typography: published prose uses directional quotes, and the opening and closing forms are different characters that lean the right way. Going to straight is a bug fix, because a curly apostrophe pasted into code is not the apostrophe the parser expects and produces a syntax error that is genuinely hard to see, and a curly quote in a CSV breaks the field parsing. This tool leaves code inside backticks untouched for exactly that reason, which is what makes it safe to run on a document that mixes prose and code samples. The hard part of going straight-to-curly is the apostrophe, since the same character marks a contraction, a possessive and a closing single quote, and in "'twas" it is an opening apostrophe that should curl the other way — a rule almost every automatic converter gets wrong.

How to use the Smart Quotes Converter

  1. Paste your text into the input box on the left.
  2. Adjust the options above the box if you need a different behaviour.
  3. The converted text appears on the right; press Copy to put it on your clipboard.

About the Smart Quotes Converter

The Smart Quotes Converter converts straight quotes to typographic curly quotes, or curly quotes back to straight, without touching code inside backticks. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Polishing typography before publishing.
  • Fixing curly quotes that broke a CSV or a code block.
  • Matching a publisher style sheet.

Explained in our guides

All guides

Frequently asked questions

Is there a limit on how often I can use the Smart Quotes Converter?
Free, unlimited, and no email address required. You can use it a hundred times a day and nothing changes.
Does anything I enter leave my computer?
No. The Smart Quotes Converter runs entirely in your browser using JavaScript. Because the work happens locally, the tool also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
Who is the Smart Quotes Converter for?
The jobs it is built for: polishing typography before publishing. Fixing curly quotes that broke a CSV or a code block. Matching a publisher style sheet. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there an app version?
Yes. The page is responsive and the tool works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related text tools

All 92
01

Case Converter

Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase…

02

Uppercase Converter

Converts any text to UPPERCASE instantly, keeping numbers, punctuation and line breaks exactly…

03

Lowercase Converter

Converts any text to lowercase, including text that was typed with Caps Lock on by mistake.

04

Title Case Converter

Converts headings to proper Title Case using AP and Chicago rules, keeping short words like…

05

Sentence Case Converter

Rewrites text in sentence case: first letter of each sentence capitalised, the rest lowercase…

06

camelCase Converter

Turns any phrase into camelCase for JavaScript, Java and JSON keys, stripping spaces, hyphens…

07

PascalCase Converter

Converts phrases to PascalCase (UpperCamelCase) for class names, React components and type…

08

snake_case Converter

Converts text to snake_case for Python variables, database columns and file names.

09

kebab-case Converter

Converts text to kebab-case for URLs, CSS class names and HTML attributes.

10

CONSTANT_CASE Converter

Converts text to SCREAMING_SNAKE_CASE for environment variables, constants and configuration…