gptcleanuppro.com / tab-to-json-array
Ready · local0w
Works with text copied from
ChatGPTClaudeGeminiGrokCopilotPerplexity
delimiter recognised
1
bytes sent to a server
0
length or run limit
None

The tool

A precise tab to JSON array converter

This tool takes a row or column of cells copied out of a spreadsheet and splits it on the tab characters the spreadsheet inserted, trims each value, and returns a formatted JSON array. The value text is untouched, only the tab boundaries between values are read.

The conversion runs entirely in JavaScript in your browser. There is no request sent anywhere to queue or log, and no run limit, since nothing here costs anything to serve.

Where the format comes from

Why a spreadsheet copy is tab-delimited, not comma-delimited

Selecting a range of cells and copying it places a plain-text representation on the clipboard alongside the rich formatting, and that plain-text form separates cells with a literal tab character. That is the definition of TSV, tab-separated values.

The reason this is the right choice for spreadsheet data specifically: a comma inside a cell, a price, a note, a name written last-first, stays intact when the cell boundary is a tab instead. A comma-based split would cut that cell in two. A tab-based split will not, because spreadsheet software reserves the tab character for the boundary between cells and does not insert one inside a cell's own text.

How it works

How to convert a spreadsheet paste to JSON in three steps

No configuration, no export step, no network round trip.

Step 1
Copy the cells from your spreadsheet and paste directly into the input field.
Step 2
Press Convert. The split and formatting run instantly, client side.
Step 3
Copy the resulting JSON array from the output panel.

Why it matters

What breaks when the tab boundary is lost in transit

A tab character is invisible on screen, which is precisely why it functions as a delimiter and precisely why it is easy to lose without any visible sign. Paste through a text editor configured to convert tabs to spaces, or through a chat client that strips them, and the boundaries this converter depends on are gone before the text reaches it.

When that happens, the whole pasted range returns as a single array item instead of several, because there is nothing left for the split to act on. A result that looks like one long string, rather than several items, usually points at a tab-to-space conversion somewhere upstream.

Why tabs survive where commas would not

Why the tab boundary holds where a comma boundary fails

A spreadsheet cell is a free-text field, so nothing prevents a comma from appearing inside it, which means a comma cannot be assumed to mark a cell boundary when the data is read back. A tab character, conversely, is not something a person types into a spreadsheet cell during ordinary use, so Excel and Sheets reserve it specifically as the delimiter in a plain-text clipboard copy, chosen because it is unlikely to collide with the content itself.

That is the underlying reason a TSV paste splits more reliably than a comma-joined string assembled by hand: the delimiter was selected by the software to avoid the exact ambiguity a comma split runs into.

Straight answer

Does it preserve blank cells and their position?

Not precisely. Two adjacent tab characters, which represent an empty cell sitting between two filled ones, produce an empty string once split, and this converter drops empty items rather than retaining them as blank array entries. The resulting array can therefore be shorter than the column count of the original row.

For extracting populated values, that behaviour is usually correct. For a use case that depends on preserving column position through empty cells, this converter is not the right fit.

Who it's for

Who uses a tab to JSON array converter, and when

Developers use it to turn a single spreadsheet column into an array of test data or seed values without exporting a file and writing a parser for a one-off job. Analysts use it to pull one row of figures out of a report directly into a JSON payload for a script or an API call.

Teams building internal tools use it when an automation step expects an array but the source lives in a spreadsheet cell range. It also surfaces whenever a row copied into a ticket or a message needs to become JSON for a developer downstream.

FAQ

Tab to JSON array, answered precisely

All answered in full, nothing to click open.

How do I convert a spreadsheet row to a JSON array?

Copy the cells and paste directly into the input field, then press Convert. Each cell becomes one array item.

Is it free?

Yes. No signup, no length cap, no run limit, since the conversion runs on your own device.

Is my text uploaded anywhere?

No, the split runs entirely client side. Nothing is transmitted, stored or logged.

Why did my entire row come back as a single item?

The tab characters were likely converted to spaces somewhere in the path, leaving nothing to split on. Check for a paste setting that performs that conversion.

Does it handle a copied column as well as a row?

Yes, both produce the same tab-separated clipboard format, which this converter splits identically.

Does it split commas that appear inside a cell?

No, only tab characters are treated as boundaries, so a comma inside a cell's own value is left exactly in place.

What happens to an empty cell in the middle of a row?

The empty value it produces is dropped rather than kept as a blank entry, so the array can end up with fewer items than the row had columns.

Is there a length limit on the input?

No. There's no cap and no run limit, the practical ceiling is your device's own memory.

Does it work on phones?

Yes, the layout adapts to narrow screens.

What's the difference between this and the comma converter?

This one splits on the tab character a spreadsheet copy actually contains. The comma converter splits on commas, suited to plain comma-separated lists instead.

Does a copy from Numbers or LibreOffice behave the same way?

Yes, every major spreadsheet application places tab-separated plain text on the clipboard alongside its formatting.

Can I paste raw TSV file contents directly?

Yes, it converts identically to a live spreadsheet copy.

Does it trim whitespace inside a cell's value?

Leading and trailing spaces around each value are trimmed. Interior spacing is left untouched.

What happens if I paste multiple rows at once?

The full paste is treated as one delimited sequence and split into a single array, so several rows produce one combined array rather than one per row.

Is there an API or batch mode?

Not currently. This is a single-paste, browser-based converter.

Does it preserve numbers and currency formatting?

Yes, since splitting only occurs at tab boundaries, a value like '2,499.00' inside one cell stays intact as a single item.

Why do pasted tabs sometimes not register?

Some browsers intercept the Tab key for keyboard navigation, which can interfere in certain input fields. Pasting rather than typing avoids that.

Can I convert JSON back to tab-separated text?

No, this converter runs one direction only, from tab-separated text to a JSON array.

Does the array preserve the original column order?

Yes, items appear in the same left-to-right order as the source selection.

Is it safe for confidential spreadsheet data?

Yes, nothing is transmitted anywhere. Processing happens locally and ends when the tab is closed.

Convert a spreadsheet paste to JSON, precisely.

Splits on the real tab boundary, computed locally with no run limit.

Open the converter