CSV Encoder
Paste or upload a CSV file and re-encode it to match exactly what a downstream system expects: switch the delimiter between comma, semicolon, tab, or pipe, change line endings between Unix-style LF and Windows-style CRLF, choose whether every field is quoted or only the ones that need it, and add or strip a UTF-8 byte-order mark (BOM).
Reviewed by Vincenzo Manto, Founder & Lead Developer · Last updated September 27, 2026
How it works
- 1
Paste your CSV text or upload a .csv file, and set the delimiter it currently uses.
- 2
Choose the output delimiter, line ending style, quoting policy, and BOM setting.
- 3
The re-encoded CSV appears instantly in the output box.
- 4
Copy it or download it as a new .csv file.
CSV isn't always the same CSV
The term "CSV" covers a wide range of concrete formats: different delimiters, different line endings, different quoting conventions, and the presence or absence of a byte-order mark. When a file produced by one tool needs to be imported into another with stricter expectations, small formatting mismatches are a common cause of failed imports.
One tool, four independent transforms
Each setting in this tool (delimiter, line ending, quoting policy, and BOM) is applied independently, so you can combine exactly the transforms you need without touching anything else about your data.
Frequently asked questions
Why would I need to add or remove a UTF-8 BOM?
Some tools, notably older versions of Excel on Windows, need a leading BOM to correctly detect UTF-8 encoding and display accented characters. Other systems expect no BOM and may misread it as stray data. This tool lets you add or strip it as needed.
What's the difference between LF and CRLF line endings?
LF (a single newline character) is the Unix/macOS/Linux convention, while CRLF (carriage return + newline) is the traditional Windows convention. Some legacy Windows tools and network protocols specifically require CRLF-terminated CSV lines.
What does "always quote fields" do?
When enabled, every field is wrapped in double quotes regardless of its content. When disabled (the default), only fields that actually need quoting, because they contain the delimiter, a quote character, or a line break, are quoted.
Can I change the delimiter from comma to semicolon?
Yes. Set the source delimiter to match your input, then choose any output delimiter (comma, semicolon, tab, or pipe), and the tool re-splits and re-joins every field accordingly.
Is my CSV data uploaded to a server during encoding?
No, every transformation runs locally in your browser with plain JavaScript.