Remove Smart Quotes
Convert curly smart quotes to straight quotes for code, or strictly formatted typographic quotes for international publishing.
Stop Syntax Errors & Master Typography
The Remove Smart Quotes tool is the ultimate utility for handling quotation marks. For developers, it instantly straightens invalid "curly" quotes into code-safe straight quotes (" and '), preventing syntax errors in Python, JS, and JSON. For writers, it can do the opposite—converting plain text into professionally formatted typography with support for German, French, and Spanish styles. If you need to clean up more than just quotes, try the Non-ASCII Remover.
Developer Mode
Convert smart quotes to straight quotes. Optional HTML entity encoding (`“`) for web safe strings.
International Styles
Support for German (`„ “`), French (`« »`), and Spanish (`«»`) quotation standards.
Data Cleansing
Strip all quotes or escape them for JSON (`\"`) to prepare data for databases or APIs.
Visual Comparison
Problem (Smart Quotes)
const hello = “World”;
print(‘Error’);
Fixed (Straight Quotes)
const hello = "World";
print('Valid');
How to Use
- Paste Code/Text: Copy your text containing the mixed or curly quotes.
- Choose Mode:
- Standard: Fixes code by straightening quotes.
- Typography: Curls quotes. Select language (German/French etc.) from the dropdown.
- Choose Output: Select 'HTML Entities' if you need the result for a webpage source code.
- Convert & Copy: Copy the cleaned result back to your IDE or document.
Frequently Asked Questions
What are Smart Quotes?
Smart quotes (or curly quotes) are typographic quotation marks (“ ” ‘ ’) that curve towards the text. They are used in publishing for better readability but cause errors in programming code.
Why do I need to remove them?
Compilers and interpreters (like Python, JavaScript, HTML) only recognize standard straight quotes (" and ') as string delimiters. Curly quotes are treated as invalid characters, causing syntax errors.
Does this support non-English quotes?
Yes! Our 'Typography' mode supports international styles including German (Low-High „...“), French (Guillemets « ... »), and Spanish (Guillemets locally «...»).
Can I convert output to HTML entities?
Yes. Select 'HTML Entities' in the output options to convert your result into safe HTML codes (e.g., “quote”), which is perfect for CMS content.
Does this fix apostrophes too?
Yes. It converts the curly apostrophe (’) back to the standard straight apostrophe (').
What does the 'Remove All' preset do?
The 'Remove All' preset strips every single quotation mark (single, double, smart, or straight) from the text completely.
Is my code safe?
Yes. Processing happens entirely in your browser. No code or text is ever sent to our servers.
Why do Word processors use Smart Quotes?
Word processors like Microsoft Word or Google Docs default to smart quotes because they look more professional in printed documents and books.
Can I output for JSON?
Yes. Use the 'JSON Escaped' output format to safely escape quotes (" becomes \") for direct insertion into JSON files.
Is this tool free?
Yes, 100% free for unlimited use.