Files are read locally β nothing is uploaded to any server.
What is a CSV Cleaner?
A CSV cleaner removes the typical noise found in CSV exports: duplicate rows, fully empty rows, and stray whitespace around values. DevTools Lab's CSV Cleaner adds something specific to the Japanese ecosystem: smooth conversion between UTF-8 and Shift-JIS encodings, plus automatic mojibake (ζεεγ) detection. Open a file from your machine, clean it, and download the result β all without uploading anything.
Features
- Remove exact-duplicate rows
- Remove completely empty rows
- Trim leading and trailing whitespace from every cell
- Open files in UTF-8, Shift-JIS, EUC-JP β encoding auto-detected
- Download as UTF-8 (with BOM) or Shift-JIS
- Live preview of the first 50 rows in a table
How to use
- Click "Open file" and pick a CSV from your computer (encoding is auto-detected), or paste CSV directly.
- Toggle the cleaning options you want (duplicates / empty rows / trim).
- Inspect the preview table on the right.
- Click Download UTF-8 or Download Shift-JIS to save the cleaned file.
Frequently Asked Questions
Is my CSV file uploaded anywhere?
βΎ
No. Files are read with the browser's File API and processed locally. Nothing leaves your device.
What is Shift-JIS and why convert to it?
βΎ
Shift-JIS is a legacy Japanese character encoding still required by some accounting systems, government portals and Excel for Windows (Japanese edition). This tool converts UTF-8 β Shift-JIS losslessly when characters are representable.
What is mojibake (ζεεγ)?
βΎ
Mojibake is garbled text caused by reading bytes with the wrong encoding (for example, opening a Shift-JIS file as UTF-8). The tool auto-detects the source encoding to avoid this.
Does it handle quoted fields with commas inside?
βΎ
Yes. The parser follows RFC 4180 β quoted fields, escaped quotes ("") and embedded newlines are all handled correctly.
Can I process Excel (.xlsx) files?
βΎ
Not directly. Export from Excel as CSV first (File β Save As β CSV UTF-8 or CSV).
Related tools
Canonical: https://devformatlab.com/en/csv-cleaner