This page converts curly quotes ‘ ’ “ ” (and a dozen rarer variants) to straight ASCII quotes. The sample below is what Word autocorrect does to code. Everything runs in your browser — nothing is uploaded.
Typographic quotation marks — ‘single’ U+2018/U+2019 and “double” U+201C/U+201D — that word processors substitute for the straight ASCII quotes ' and " as you type. Beautiful in prose; poison in anything a machine parses.
Autocorrect in Word, Google Docs, Outlook, iOS and macOS ("smart punctuation"), plus most publishing systems. Any code snippet that passes through a document or an email is at risk; documentation written in Word is the classic source of broken copy-paste commands.
Almost every parser: JSON requires straight double quotes ({“key”: 1} fails with Unexpected token '“'), JavaScript throws SyntaxError: Invalid or unexpected token, Python 3 says SyntaxError: invalid character '“' (U+201C), shells treat “Hello” as a literal string including the quote characters, and YAML/TOML/SQL all misparse. The error line looks correct because the quotes look like quotes.
Paste the text above — every quote variant (including low-9 quotes, primes and guillemets) is highlighted and converted to plain ' and " in the output. To prevent it at the source: disable "smart quotes/smart punctuation" in your editor's autocorrect settings.
Guides for the common cleanup jobs — what the source puts into your text, exactly what it breaks, and the tool preloaded with a demonstration:
AI-generated text · Text copied from Word / Google Docs · Text copied from a PDF · Pasted code that won’t run · CSV & spreadsheet data · Invisible watermarks · Many files at once (batch)
Dedicated pages for the usual suspects — what each one is, where it sneaks in from, the exact errors it causes, and how to find it in your editor:
Zero-width space (U+200B) · Non-breaking space (U+00A0) · Byte order mark (BOM) (U+FEFF) · Soft hyphen (U+00AD) · Smart quotes · Em dash (U+2014) · Narrow no-break space (U+202F) · Ideographic space (U+3000) · Zero-width joiner (U+200D) · Zero-width non-joiner (U+200C) · Word joiner (U+2060) · Right-to-left override (U+202E) · Left-to-right mark (U+200E) · Line separator (U+2028) · Variation selector-16 (U+FE0F) · Object replacement character (U+FFFC) · Hangul filler (U+3164) · Braille pattern blank (U+2800) · Ligatures · Minus sign (U+2212)
Страницы на русском — те же инструменты с переведёнными правилами и примерами под задачу:
Невидимые символы в тексте · Убрать невидимые символы · Почистить текст нейросети · Неразрывные пробелы в числах · Текст из Word · Код не запускается