Skip to content
Created by Iternal Technologies, the AI Strategy ExpertsBy Iternal (opens in a new tab)

Escape & Encode

CSV Escape

Field

Paste one field. Commas, quotes and line breaks are quoted for a CSV file as you type.

CSV field

About CSV Escape

CSV Escape prepares one field for a comma-separated file. Paste the text a cell should hold. When that text contains a comma, a double quote or a line break (newline or carriage return), the field is wrapped in double quotes and each quote inside it is written twice, which is the quoting rule in RFC 4180. Text without those characters is left unchanged.

Always quote wraps the field even when none of those characters appear. The delimiter is a comma. A tab or semicolon delimiter is not offered yet, because this tool only has on-or-off settings. Swap sends the result to CSV Unescape so you can check the round trip.

Quoting runs in your browser as you type. The text you paste is never uploaded.

Frequently asked questions

What does escaping a CSV field do?

It prepares one cell for a comma-separated file. If the text contains a comma, a double quote, or a line break (newline or carriage return), the result is wrapped in double quotes and each quote inside is doubled. Otherwise the text is unchanged, unless Always quote is on.

When should I turn on Always quote?

Turn it on when every field should be wrapped, including plain words. The option adds the surrounding quotes even when the text has no comma, quote or line break. Quotes inside the text are still doubled.

Why is the delimiter only a comma?

RFC 4180 separates fields with a comma, and that is the delimiter this tool writes. A tab or a semicolon is not an on-or-off setting, and those are the only settings available, so another delimiter is not offered yet.

Is the text I paste uploaded anywhere?

No. Escaping runs in your browser with JavaScript on this page. Your text never leaves your browser and is never logged or stored. Google Analytics records page views and feature use, never content.

  • CSV Unescape

    Read one CSV field back to plain text as you type, including doubled quotes and line breaks. Runs in your browser; your text is never uploaded.

  • JSON Escape / Unescape

    Turn text into a valid JSON string literal, or decode one back to plain text.

  • URL Encode / Decode

    Percent-encode text for a URL, or decode a percent-encoded string.

  • Base64 Encode / Decode

    Encode text as Base64, or decode Base64 back to text.

  • HTML Escape / Unescape

    Escape text for HTML, or decode entities back to characters.

Iternal · AI Blueprint Builder

Plan the AI initiative, not just the output

The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.

Open the AI Blueprint Builder (opens in a new tab)