Quote Converter
Convert between straight quotes and smart (curly) quotes.
Category: Text Tools
When to use?
Use it to change word-processor smart quotes into straight quotes usable in code, or the reverse into publication-quality smart quotes.
How to use
- Enter text.
- Choose the direction (straight → smart or smart → straight).
- Copy the result.
Input Explanation
Enter the text or document to convert quotes in.
Calculation Basis
It uses regex to replace word-processor smart quotes (“ ” ‘ ’) with standard ASCII straight quotes (" '), or the reverse. Options can include corner brackets (「」) as targets.
Usage Examples
- Proofread publications - Change word-processor smart quotes into straight quotes for code.
- Improve typography - Convert straight quotes into more readable smart quotes.
- Clean pasted code - Convert smart quotes in code copied from a document to straight quotes to prevent errors.
Examples
- "Hello" → smart quotes (curly)
- Code with mixed smart quotes → converted to straight quotes to avoid syntax errors
Cautions
- Counts can vary by how line breaks are handled.
- Results may differ from other tools depending on whitespace handling.
Guides
Quote conversion
It converts between straight quotes and typographic (curly) quotes. Documents/publishing prefer curly quotes; code prefers straight quotes.
Quotes differ by language
English uses curly double quotes, German uses low-high forms, French uses guillemets. Check the target language standard for multilingual content.
FAQ
What is the difference between smart and straight quotes?
Smart quotes have distinct open/close directions (“ ” ‘ ’); straight quotes have no direction (" ').
Are Korean corner brackets converted?
Yes, with the option on, 「」 corner brackets are converted too.
Why do smart quotes break code?
Programming languages recognize only straight quotes as strings, so mixed smart quotes cause syntax errors.
Is the body text preserved?
Yes. It converts only the quote characters and leaves the rest of the text.
Related Tools
- Character Counter - Count characters with and without spaces, and line count, in real time.
- Byte Counter - Calculate the byte length of text when stored as UTF-8.
- Case Converter - Convert text, variable names, and filenames to UPPER, camelCase, snake_case, kebab-case, and more.
- Whitespace Remover - Remove whitespace in various ways — leading/trailing, duplicate, or per-line.
- Duplicate Line Remover - Remove duplicate lines from text, keeping only unique lines.
- Line Sorter - Sort each line of text in ascending/descending order, or shuffle randomly.