Ready, runs in your browser
0 chars · 0 words
bytes leaving your device
0
steps to a finished array
2
no signup, no run limit
Free

Semicolon to JSON array

What the semicolon to JSON array converter does

Paste a semicolon-separated list and this app splits it on every semicolon, trims each value, and returns a formatted JSON array. Same job as the comma converter, aimed at the delimiter a large share of the world actually exports spreadsheets with.

It's local. The split runs in your browser, not on a server, so nothing you paste is uploaded and there's no limit on how many lists you convert.

Where the format comes from

Why European CSV exports use a semicolon, not a comma

In much of Europe and plenty of other locales, the comma is the decimal separator, so three and a half is written '3,5' rather than '3.5'. A spreadsheet set to one of those locales can't use a plain comma as its field separator without it constantly colliding with decimal commas already in the numbers.

So Excel and similar tools switch the field separator itself to a semicolon whenever the regional settings put a comma at the decimal point. The file's still called a CSV and opens the same way, but the character actually separating columns is a semicolon.

Workflow

How to convert a semicolon list to JSON in three steps

Nothing to configure, no locale setting to pick first.

Step 1
Paste your semicolon-separated list into the input field.
Step 2
Press Convert. The split and trim happen instantly, locally.
Step 3
Copy the JSON array from the output panel.

Why it matters

What breaks when you assume the wrong delimiter

Open a semicolon-delimited European export with a tool that assumes commas, and one of two things happens: the whole row reads as a single column because there's no comma to split on, or worse, a decimal comma inside a number gets mistaken for a boundary and a price gets silently split in two.

That's a quiet source of wrong data rather than an obvious error, which is exactly why matching the delimiter to the real export matters more here than for a plain comma list.

The underlying reason

Why the comma stays safe inside a semicolon-delimited value

Because the semicolon does the delimiting here, not the comma, a value like '3,5' for a decimal, or 'Doe, Jean' for a name, passes straight through unharmed. The comma inside the value is just text to this converter, only a literal semicolon counts as a boundary.

That's the whole point of the format: it lets locales that use a comma as a decimal point keep using commas normally in their data, while still having an unambiguous character to separate fields.

Straight answer

Does it handle quoted fields like a full CSV parser?

No, like the comma converter, this is a plain delimiter split, not an RFC 4180-style parser with quoting rules. A semicolon inside a quoted field, rare but possible, would still be treated as a boundary here.

For the vast majority of semicolon-separated lists, plain values with no semicolon of their own, this never matters. It only surfaces with genuinely quoted, semicolon-containing fields, which are uncommon.

Who it's for

Who uses a semicolon to JSON array converter, and when

Developers integrating with European accounting, ERP or government data exports use it to get a semicolon-delimited row into JSON without reconfiguring a full CSV parser for one file. Anyone who's opened a '.csv' from a French, German, Italian or Spanish source and found everything bunched into one column reaches for it once they realise the real separator is a semicolon.

Localisation and data teams use it to normalise exports from multiple regions into one consistent JSON shape before feeding them into an API.

What comes out

A decimal like '3,5' comes back as a string, not a number

JSON.stringify never infers type here, so every value in the array comes back as a string, quotation marks included, even one that looks purely numeric. A European-style decimal like '3,5' converts to the string "3,5", exactly as written, comma and all.

That's actually the safer default for this format specifically. Guessing that '3,5' meant the number 3.5 would require assuming a locale, and getting it wrong would silently corrupt the value. Leaving it as a string and converting deliberately afterward, with the locale you actually know, avoids that mistake.

FAQ

Everything answered. Nothing to click open.

How do I convert a semicolon-separated list to a JSON array?

Paste the list above and press Convert. Each semicolon-separated value becomes one array item.

Is it free?

Yes, no signup, no paste limit, no run limit. It runs entirely in your browser.

Is my text uploaded anywhere?

No, the split runs on your own device. Nothing is transmitted or stored.

Why does my CSV file use semicolons instead of commas?

Because the software that made it uses a locale where the comma is the decimal separator, so it uses a semicolon as the field separator instead.

Will a decimal like '3,5' get split incorrectly?

No, only semicolons count as boundaries here, so a comma used as a decimal point passes through untouched.

What happens to spaces around each value?

They're trimmed automatically, so 'red ; blue; green' comes back as three clean items.

Does it handle quoted fields with a semicolon inside?

No, this is a plain delimiter split, not a full CSV parser, so a semicolon inside quotes would still be treated as a boundary.

What happens with two semicolons in a row?

The empty item between them is dropped, and a trailing semicolon at the end doesn't produce a blank final item.

Does it work on large lists?

Yes, no length cap and no run limit.

Does it work on phones?

Yes, the layout stacks on narrow screens.

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

This splits on semicolons, what many European CSV exports actually use. The comma tool splits on commas, used elsewhere and for plain lists.

Why did my Excel export land in one column?

The file is very likely semicolon-delimited, common for spreadsheets set to a European locale, so a comma-based reader finds nothing to split on.

Does this work for German, French, Italian or Spanish exports?

Yes, semicolon delimiting is common across most locales where the comma is the decimal separator.

Is there a batch mode or an API?

Not yet, paste, convert, copy for now.

Can I use it on plain text, not numbers?

Yes, it converts any semicolon-separated text the same way regardless of whether the values are numeric.

Does it remove duplicate items?

No, every semicolon-separated value becomes its own array item, repeats included.

Does it validate the resulting JSON?

The output is always syntactically valid JSON. It can't tell you whether the split points matched your intent.

Can a semicolon in a sentence confuse this tool?

Yes, if you paste prose instead of delimited data, a semicolon joining two clauses gets treated as a boundary and splits the sentence apart. This is for delimited data, not running text.

Is my data safe to paste if it's confidential?

Yes, nothing is transmitted anywhere. Processing happens locally in your browser.

How do I tell if a file is comma or semicolon delimited?

Open it in a plain text editor and look at the raw characters between values. If there's no semicolon in sight, use the comma tool instead.

Does '3,5' convert to the number 3.5?

No, it stays a string, comma included, exactly as pasted. Converting it to a number requires knowing the locale, which this tool doesn't assume for you.

What if my list starts or ends with a semicolon?

The empty item at that end is dropped, the same as two semicolons appearing in a row.