How to use CSV Escape
- Paste or type the text you want to escape.
- Adjust the options if you need to.
- Copy the escaped result.
About CSV Escape
A CSV field has to be wrapped in double quotes if it contains the delimiter, a double quote or a line break. Inside the quotes, each double quote is doubled. That is the whole rule, and it is the one that most hand-written CSV exports get wrong, which is why files fall apart when someone enters a comma in a name field.
Paste your text and the tool applies that rule. By default the whole input is one field. If each line is a separate value, tick "Treat each line as a field".
What gets escaped
A field is wrapped in double quotes when it contains the delimiter, a quote or a line break. Every double quote inside becomes two double quotes.