Replace Smart Quotes with Straight Quotes
Converts curly double quotes, curly single quotes, long dashes and ellipsis characters into plain typed characters, avoiding errors when pasting into code.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when you copy text from Word, Google Docs or a web article into source code, a CSV file, a SQL query or an older app, where curly quotes break strings or show up as garbage characters.
Besides curly quotes, it also turns « » guillemets, typographic apostrophes and the ″ seconds mark into straight quotes. With the dash option on, every long dash and the math minus become a hyphen, and the … character becomes three periods.
How to use
- Paste your text into the left box.
- Choose whether to replace long dashes too.
- Click Copy or Download.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Related tools
More Text tools
Add Line NumbersAdds a sequence number at the start of each line in styles like 1. 1) 01, skips blank lines, or removes existing line numbers.Strip HTML TagsRemoves HTML tags, scripts and styles, decodes special characters, and keeps plain text with sensible line breaks.Find and Replace TextFinds and replaces text in bulk, with case-sensitive matching, whole-word matching and regular expressions.Remove Extra SpacesMerges repeated spaces into one, removes spaces before commas and periods, and adds a space after commas, semicolons, colons, exclamation and question marks.Show Hidden Characters and WhitespaceShows spaces as dots, tabs as arrows, line breaks as pilcrows, and points out non-breaking spaces and zero-width characters.Trim Whitespace from LinesRemoves spaces and tabs from the start, the end or both sides of each line.
See all text tools