CSV Editor — view, edit, sort and convert CSV in your browser
This CSV editor opens comma-separated data as an editable table so you can fix a value, rename a column, add or delete rows, sort the data and export it again — without a spreadsheet and without uploading the file anywhere. Paste CSV into the "raw csv" box or import a .csv file and it parses into a live table you can edit cell by cell; it is the fast way to edit CSV online, clean up an export, or view a CSV file you were sent.
The table pane and the raw-text pane stay in sync: edit a cell and the CSV text updates, or paste new CSV and the table re-parses. When you are done you can export the result back to CSV, or convert CSV to JSON with one click. Everything runs 100% client-side in your browser — nothing you paste or import is uploaded, so it is safe for private or sensitive data.
Usage
- Paste comma-separated values into the "raw csv" pane, or click "import" to load a .csv file from your computer. The first row is read as the header row and the rest as data.
- Edit any cell directly in the "table" pane — click a cell and type. Click a header to rename the column. The "raw csv" text updates as you go, so the two views never drift apart.
- Use "+ row" to append an empty row and "+ column" to add a column; delete a row or a column with the ✕ button on that row or in that column header.
- Click the sort toggle (↕ → ▲ / ▼) in a column header to sort the table by that column — numeric when the column is all numbers, alphabetical otherwise — and click again to reverse the order.
- Type in the "search…" box to filter the table to rows that contain your text, so you can find a record in a large file.
- Click "export csv" to download the edited table as a .csv file, or "export json" to convert the rows to a JSON array of objects keyed by your headers. "clear" empties the editor to start fresh.
Examples
- Convert CSV to JSON:
name,age
John,30 → export json - Paste or import your CSV, then click "export json". Each row becomes an object keyed by the header row — `[{"name":"John","age":"30"}, …]` — so you can turn a CSV export into JSON for an API or a config file, all in the browser.
- Sort a column:
age ↕ → ▲ - Click the sort toggle in the "age" header to order rows by that column. A column of numbers sorts numerically (so 9 comes before 30, not after); a text column sorts alphabetically. Click again to flip ascending ↔ descending.
- Fix and re-export a messy export:
edit cell · + row · export csv - Import a CSV someone sent you, correct a wrong value by clicking the cell, add any missing row with "+ row", then click "export csv" to download the cleaned-up file. Nothing leaves your browser at any step.
FAQ
- How do I edit a CSV file online?
- Click "import" to load your .csv file (or paste the text into the "raw csv" pane). It opens as an editable table — click any cell to change its value, click a header to rename the column, and use "+ row" / "+ column" or the ✕ buttons to add or remove rows and columns. Then click "export csv" to download the result. No upload and no sign-up.
- How do I convert CSV to JSON?
- Load your CSV and click "export json". Each data row is converted to a JSON object keyed by the header row, and the whole table downloads as a JSON array of objects. The conversion runs entirely in your browser.
- Can I sort the rows by a column?
- Yes. Click the sort toggle (↕) in any column header to sort by that column — numerically if every value is a number, alphabetically otherwise — and click again to reverse the direction. The "search…" box also lets you filter the table to rows containing specific text.
- Is my CSV uploaded anywhere?
- No. Parsing, editing, sorting, the CSV→JSON conversion and both imports and exports all happen locally in your browser — nothing is sent to a server. That makes it safe to edit private or sensitive spreadsheets; 0 bytes leave your browser.
zahubtech@local $ ▋