When does a field need quoting per RFC 4180?
A CSV field requires quoting when it contains the delimiter (comma), a double-quote character, or a CR/LF newline. Plain alphanumeric fields and ones containing only spaces in the middle stay unquoted. Leading or trailing whitespace is also a strong reason to quote — many parsers strip surrounding whitespace from unquoted fields.
How are embedded newlines handled?
A field containing a CR, LF, or CRLF must be wrapped in double quotes. Inside the quotes the newline is written as a literal newline byte — not as a backslash-n sequence. The CSV row continues on the next physical line, and the field only ends at the matching closing quote, which is how Excel and Google Sheets store multi-line cells.
Why are internal double quotes doubled?
RFC 4180 has no backslash escape — instead a literal double quote inside a quoted field is written as two consecutive double quotes. So `say "hi"` becomes `"say ""hi"""`. This convention round-trips cleanly through Excel, LibreOffice, and every mainstream CSV parser.
Does this tool change the delimiter?
No. The tool assumes comma-delimited CSV — the format defined by RFC 4180 and what most exports use. If your file uses semicolon (common in European locales) or tab (TSV), the same quoting rules apply but you would substitute the delimiter character.
Should I quote every field to be safe?
You can — RFC 4180 explicitly allows quoting fields that do not strictly require it. Some teams prefer quoting every text field for consistency. The downside is larger file size and more visual noise; the upside is no edge cases when fields later acquire a comma or quote.
How are leading zeros and numeric IDs preserved?
CSV is plain text — quoting does not change a value's type. Spreadsheet apps like Excel re-interpret unquoted strings that look numeric and may strip leading zeros from `00123`. Quoting `"00123"` does not stop Excel from doing this on import; the only reliable fix is to use a leading apostrophe or import as text.
Is the data uploaded to your servers?
No. The escape transformation runs entirely in JavaScript inside your browser. CSV often contains PII, customer records, or financial data — no part of the input or output leaves the device. You can verify this in the browser DevTools Network tab when you click Run.
What is the difference between CSV escape and CSV unescape?
Escape adds RFC 4180 quoting around fields that need it and doubles internal quotes — it converts raw values into the form a CSV file expects. Unescape reverses the operation: it strips outer quotes and converts doubled quotes back to a single quote, restoring the original cell value.