CSV Field Escape / Unescape
Escape or unescape strings for CSV fields. Handles quote wrapping and double-quote escaping.
Processed on your device β never uploaded
Input (one field per line)
Output
Frequently Asked Questions
When do CSV fields need to be escaped?
CSV fields must be escaped when they contain commas, double quotes, or newline characters. The field is wrapped in double quotes and any existing quotes are doubled.
How do you escape quotes in CSV?
In CSV format, double quotes inside a field value are escaped by doubling them (e.g., "She said ""hello"""), and the entire field is wrapped in quotes.
What does CSV unescape do?
CSV unescape removes the outer double quotes from a quoted field and converts doubled quotes ("") back to single quotes, restoring the original text.