📝 Straight Quote Converter — Clean Curly Quotes
Paste text copied from a document or web page. The converter turns smart quotes and dashes into straight characters and can strip zero-width spaces.
What this tool does
Straight Quote Converter normalises typographic punctuation into plain ASCII characters. Curly single and double quotes become straight apostrophes and quotation marks, and optional settings also turn en and em dashes into hyphens and remove zero-width or non-breaking spaces.
It is useful when text copied from a word processor, PDF or website breaks code, CSV files or a plain-text workflow because of invisible or non-standard characters.
When to use it
- Cleaning curly quotes from text that will be pasted into code or JSON.
- Normalising punctuation in a caption or email template.
- Removing zero-width spaces and non-breaking spaces that break search or imports.
- Standardising dashes before publishing plain-text documentation.
How it works
- Paste text that may contain curly quotes from a word processor or website.
- Choose whether dashes and invisible spaces should be normalized too.
- Press Convert quotes. Left and right quotes become " and apostrophes become '.
Worked example
Paste “hello” and it’s and enable dash conversion. The left and right double quotes become straight quotation marks, the curly apostrophe becomes an ASCII apostrophe, and an em dash elsewhere in the text can be rewritten as a hyphen if that option is enabled.
- “hello” becomes "hello".
- it’s becomes it's.
- An em dash can be rewritten as a hyphen when that option is on.
Accuracy and limitations
- The conversion is character-based and does not understand context, so an apostrophe and a closing single quote become the same character.
- Some invisible characters outside the listed set may remain; check the output if an import still fails.
- Converting dashes can change the intended typography, so leave that option off when the text is for display rather than code.
Privacy and data handling
Text is transformed locally in your browser. Nothing is uploaded or stored, so draft manuscripts and internal copy remain private.
Frequently asked questions
Why do curly quotes cause bugs?
Code, CSV and some search tools expect ASCII quotes. A curly quote looks similar but is a different character, so strings and formulas fail to match.
Will this change accented letters?
No. Letters such as é stay as they are. Only quote, dash and selected invisible-space characters are rewritten.
Is the text uploaded?
No. Replacement runs in the browser and nothing is stored.
Why does this matter for code?
Programming languages and data formats expect ASCII quotes. A curly quote looks similar but is a different character and causes syntax or parse errors.
Related tools
More Text tools →Word Counter
Count words and characters with reading time and keyword highlights.
Remove Duplicate Lines
Remove duplicate lines and keep only unique entries.
Case Converter
Switch text between common case styles in one click — free and private.
Extract Emails & URLs
Pull every email address and URL out of a block of text in one click.