TSV to JSON — Pastes from Excel and Google Sheets into a JSON Array
Convert tab-delimited spreadsheet pastes directly into clean JSON arrays.
4 data rows, 6 columns, Tab delimiter.
| hostname | ip | vlan | lokasi | aktif | catatan |
| core-rtr | 10.0.0.1 | 1 | Jakarta, DC1 | true | |
| sw-akses-01 | 10.0.10.11 | 10 | Lantai 2 | true | kabel "uplink" diganti |
| ap-lobby | 10.0.20.5 | 20 | Lobby | false | dua baris catatan |
| nvr-01 | 10.0.30.2 | 030 | Ruang server | true | kode lama 007 |
- Reading follows RFC 4180 like Python's csv module: a quoted field may hold delimiters and line breaks, and "" inside it is one quote. Numbers with a leading zero such as 007 stay text so postal codes and IDs do not change.
When to use the Tab-Separated Values (TSV) to JSON Converter
Straight from a spreadsheet
Cells copied from Excel, Google Sheets or LibreOffice are pasted as tab-separated text. Paste them here and every line becomes an object keyed by the column titles, ready for API mocks, test fixtures or a database import.
Multi-line cells stay whole
Spreadsheets quote cells that hold line breaks or tabs. Those quotes are read with the rules of Python's excel-tab dialect, so cell text is not cut.
Optional data types
Numbers, true/false and empty cells can be read as numbers, booleans and null, while values with leading zeros such as 007 stay text.
Notes per line
Lines whose cell count differs from the titles get a note with their number, and repeated or empty titles are renamed so no data is overwritten.
Frequently asked questions
How does TSV differ from CSV?
TSV uses a tab as the delimiter, so commas inside text need no quotes. The other rules are the same.
Can it read other delimiters?
Yes. Pick a comma, semicolon, pipe or auto-detection.
Do empty cells become null?
With the type option on, empty cells become null; with it off, they are written as empty strings. Cells missing altogether from a short line are always null.
What about empty column titles?
An empty title is named column_N after its position, such as column_3.
Is my data uploaded?
No. The conversion runs in your browser.
Similar tools
- JSON Array to Tab-Separated Values (TSV) ConverterConvert JSON object lists into TSV rows ready to paste into Google Sheets.
- JSON Formatter & Syntax PrettifierFormat messy single-line JSON with 2/4-space indentation and sorted keys.
- JSON Minifier & Whitespace CompressorStrip whitespace and newlines from JSON payloads and compare byte savings.
- RFC 8259 JSON Syntax Validator & DebuggerPinpoint trailing commas, unquoted keys & syntax errors with line/column clues.