How to replace curly quotes
- Paste the text. Word processors and phones often turn straight quotes into curly ones as you type.
- Click Straight quotes. Curly single quotes become an apostrophe. Curly double quotes become a straight double quote.
- Copy the result into code, a CSV file, a JSON string, or any other place that expects ASCII quotes. The diff page has the same button if you want the curly marks shown as deletions.
The characters this button replaces are the ones used as English quotation marks and as the typographic apostrophe. Left and right single quotes, the single low-9 quote, and the single high-reversed-9 quote become '. Left and right double quotes, the double low-9 quote, and the double high-reversed-9 quote become ". A word like don't, typed with a curly apostrophe, becomes don't with a straight apostrophe. The letters do not change.
What is left alone
Guillemets, the angle quotes used in several languages, are not replaced. A French or Russian quotation that uses them is not an English curly quote, and folding them to " would throw away a mark the sentence may still need. If you do want them folded, replace them yourself after you copy. This page would rather under-convert than flatten a mark it was not built for.
Dashes are not quotes. An en dash or an em dash stays. This site's own articles say "em dash" in words and do not use the character in our sentences. Your paste can contain one. The button will not turn it into a hyphen or into two hyphens. A minus sign stays a minus sign. An ellipsis character stays an ellipsis character. If you needed three periods, type them. Prime marks used for feet and inches are also left alone, because they are not the quotation marks in the list above. A curly apostrophe and a prime can look similar in some fonts. If a measurement survived, it was probably a prime, and that is the result you want.
Letter case is not this button's job. Don’t with a curly apostrophe becomes Don't with the D still capital. Run Sentence case or Title Case before or after, on the home converter. Order only matters when the exceptions list contains an apostrophe. The list is applied after this button, and the saved spelling is written as you saved it. If you saved O'Neil with a straight apostrophe, a curly paste becomes the straight spelling. If you saved the curly form, the button straightens it and the list may write the curly form back. Save the straight spelling if the whole point of this page is ASCII.
Why straight quotes matter
Code and data formats treat ' and " as syntax. A curly quote is a different character. A snippet that looks quoted can fail to compile, a CSV field can split in the wrong place, and a search for a straight apostrophe can miss every contraction in a document that was written in a word processor. The failure is annoying because the two marks look almost the same at body size. This button makes the difference visible by removing it.
Publishing text is the opposite case. Books and many articles want the curly marks, and a house style may require them. Do not run a finished article through this page and paste it back into the design file. The button is a cleanup for plain text, code, identifiers, and spreadsheets. It is not a typography pass. Nothing here inserts a curly quote. There is no button for the reverse direction, because choosing left versus right depends on whether the mark opens or closes a quotation, and a naive swap gets the apostrophe in don't wrong. If you need curly quotes, use the word processor that already does that as you type.
HTML is a common place people notice the problem. A title attribute, a piece of JSON inside a script, or a sample in a code element will misbehave if the quotes are curly. The visible page can still use curly quotes in ordinary paragraphs. Convert the attribute or the sample, not the whole essay. This page converts the whole box, so paste only the part that must be straight. The home converter's selection behavior is for case, not for quotes. There is no partial-quote mode here.
Edge cases
Nested quotes flatten to the same straight marks. A quotation inside a quotation stays distinguishable only by the words, not by a different glyph. If you relied on the glyph to see the nesting, keep a copy of the curly source. The diff page can show that copy as the before column if you click Straight quotes there instead of here.
A quote that is already straight stays straight. Running the button twice is safe. It does not eat letters and it does not double the marks. An empty box stays empty. A box of only guillemets stays guillemets, and the status line still says the button ran. That is correct. There was nothing in the replacement list.
Whitespace is not cleaned. A curly quote with a space before a comma is still a straight quote with a space before a comma. Use remove extra spaces for the space, then this page for the marks, or the other way around. Neither pass interferes with the other, aside from the exceptions list. A non-breaking space next to a quote is also left alone. The spaces page documents which space characters it knows about.
The button does not decode HTML entities. If the paste contains the characters ampersand, l, d, q, u, o, and a semicolon, those letters stay. This page replaces the actual quote characters, not the entity text. Decode the entities in the tool that produced them, then paste the characters. It also does not escape quotes for JSON. After the marks are straight, you still add backslashes yourself if the surrounding format requires them. Making the character ASCII is the whole job.
Names with apostrophes are the overlap with the case tools. O'Neil, McDonald's, and don't all use a mark this button will straighten if it was curly. The case tools treat a straight apostrophe and a curly apostrophe as the same boundary in several places, which is why Title Case keeps the letter after the mark lowercase. Straightening the mark does not fix O'neil into O'Neil. That repair is still the exceptions list or a hand edit, as the names guide explains. Straighten first if your saved spelling uses a straight apostrophe, so the list can match either source mark and write the straight one.
Frequently asked questions
Will this change an em dash?
No. Dashes, ellipses, primes, and guillemets stay. Only the curly single and double quotation marks in the list above are replaced.
Can I turn straight quotes back into curly quotes?
Not here. Opening and closing marks are a typesetting choice. Use the editor that inserts them while you type.
Does the apostrophe in don't change the letters?
No. A curly apostrophe becomes a straight one. The letters stay. Case is a different button.
Why did a brand get a curly apostrophe again?
The exceptions list runs after this button and writes the spelling you saved. Save the straight form if you want it to stay straight.