Straight Quotes Converter
Replace curly quotes and apostrophes with the plain straight characters, one character for one.
What this page does
The page maps every common typographic quote and apostrophe to its plain ASCII character, which is what a code editor, a query string or a test fixture needs.
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
The single and double curly quotes, their low and reversed forms, and the guillemets each map to one straight quote; the apostrophe maps to a straight single quote. No other character changes.
Every character that is not in the quote table is copied through unchanged. Every character is read in your browser: nothing is uploaded and nothing is stored.
The page maps every common typographic quote and apostrophe to its plain ASCII character, which is what a code editor, a query string or a test fixture needs.
The rule this page applies: The single and double curly quotes, their low and reversed forms, and the guillemets each map to one straight quote; the apostrophe maps to a straight single quote. No other character changes.
Worked example: "“Hello,” she said. “It’s fine.”" gives the output recorded in the example below, character for character.
How to use the Straight 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
The single and double curly quotes, their low and reversed forms, and the guillemets each map to one straight quote; the apostrophe maps to a straight single quote. No other character changes.
Every character that is not in the quote table is copied through unchanged.
What to Expect
Best for
- Fixing quotes pasted from a word processor
- Preparing a string for code
Not ideal for
- Typographic typesetting, which wants the curly forms
- Languages that use guillemets as their normal quotes
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
- Repairing a failing test fixture
- Cleaning a command-line example
Sample input
“Hello,” she said. “It’s fine.”
Sample output
"Hello," she said. "It's fine."
Who this is for
- developers
- editors
Frequently asked questions
What rule does this page apply?
The single and double curly quotes, their low and reversed forms, and the guillemets each map to one straight quote; the apostrophe maps to a straight single quote. No other character changes.
What input does it refuse?
An all-whitespace input is refused, because there is nothing to convert.
What is left unchanged?
Every character that is not in the quote table 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.