Smart Quotes Converter
Turn straight quotes and apostrophes into typographic curly quotes by position.
What this page does
The page turns straight quotation marks into typographic quotes by looking at the character before each mark, and treats an apostrophe after a letter as a closing mark.
How to use it
Paste or type the text and press Run. The result appears beside the form. With ""Hello," she said. "It's fine."", the page gives:
“Hello,” she said. “It’s fine.”
The rule it applies
A double quote opens at the start of the text or after whitespace or an opening bracket, and closes otherwise. A single quote after a letter or digit becomes a right apostrophe; otherwise it opens or closes by the same position rule.
Every character other than a straight double or single quote is copied through unchanged. Every character is read in your browser: nothing is uploaded and nothing is stored.
The page turns straight quotation marks into typographic quotes by looking at the character before each mark, and treats an apostrophe after a letter as a closing mark.
The rule this page applies: A double quote opens at the start of the text or after whitespace or an opening bracket, and closes otherwise. A single quote after a letter or digit becomes a right apostrophe; otherwise it opens or closes by the same position rule.
Worked example: "\"Hello,\" she said. \"It's fine.\"" gives the output recorded in the example below, character for character.
How to use the Smart Quotes Converter
Paste or type the text into the box and press Run. The result appears beside the form, and pressing Run again re-reads whatever is in the box.
This page has nothing to configure: it reads the text and applies the rule below. "Hello," she said. "It's fine."
The rule this page applies
A double quote opens at the start of the text or after whitespace or an opening bracket, and closes otherwise. A single quote after a letter or digit becomes a right apostrophe; otherwise it opens or closes by the same position rule.
Every character other than a straight double or single quote is copied through unchanged.
What to Expect
Best for
- Typesetting a quotation for a page
- Making a draft look like print
Not ideal for
- Code or shell commands, where a straight quote is required
- Texts mixing several quote styles
What this tool keeps
- The text exactly as you pasted it
- The same answer on every run
- Nothing sent, stored or logged
What may need cleanup
- A marker such as [email] or [url] that you want spelled differently
- Spacing carried over from the text you pasted
Common errors
- An all-whitespace input is refused, because there is nothing to convert.
- An empty box, which the page refuses rather than printing a blank result
Example use cases
- Polishing a pull-quote
- Preparing copy for a PDF
Sample input
"Hello," she said. "It's fine."
Sample output
“Hello,” she said. “It’s fine.”
Who this is for
- writers
- designers
Frequently asked questions
What rule does this page apply?
A double quote opens at the start of the text or after whitespace or an opening bracket, and closes otherwise. A single quote after a letter or digit becomes a right apostrophe; otherwise it opens or closes by the same position rule.
What input does it refuse?
An all-whitespace input is refused, because there is nothing to convert.
What is left unchanged?
Every character other than a straight double or single quote is copied through unchanged.
Is anything uploaded?
No. The text is read by JavaScript in this page and nothing is posted, stored or logged.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.