Free tilde to JSON array converter

Legacy exports, split on a character rarely typed.

Free tilde to JSON array converter. Paste a tilde-delimited record from a legacy export and get a clean JSON array back, right in your browser.

Paste your text to begin
0 chars / 0 words
bytes uploaded
0
usage limit
None
always
Free

Tilde to JSON array

What the tilde to JSON array converter does

Paste a line delimited with the tilde character, '~', and this tool splits it on every tilde, trims each value, and returns a formatted JSON array. It is built for the same category of source as the caret converter: older, fixed-format exports that picked a character unlikely to appear inside ordinary field values.

It runs in your browser. Nothing you paste is uploaded, there is no signup, and there is no limit on how many lines you convert.

Where the format comes from

Why older exports settled on the tilde specifically

Some legacy flat-file and EDI-adjacent export formats needed a field separator that would not turn up inside a name, an amount or a code, the way a comma or a space so often does. The tilde was one of the characters chosen for that reason: rare enough in ordinary business text to be treated as a safe, deliberate delimiter rather than something a person would ever type into a data field by accident.

That choice still shows up today in older systems, integrations and archived exports built on that assumption, even though modern formats have mostly moved on to comma-separated files or JSON.

How it works

How to convert a tilde-delimited line to a JSON array in three steps

Nothing to configure, no format to declare first.

Step 1
Paste your tilde-delimited line into the input box.
Step 2
Press Convert. The split and trim happen instantly, locally.
Step 3
Copy the resulting JSON array from the output box.

Why it matters

Where a tilde legitimately shows up outside a delimited export

The tilde is rarer than a comma or a space in ordinary prose, but it is not rare everywhere. On a Unix or Linux system, '~' is shorthand for a user's home directory, so a shell path like '~/Documents/report.txt' contains one. In casual writing, a tilde in front of a number, '~10 items', means approximately. In a 'package.json' file, an npm version range like '~1.2.3' uses one to mean a compatible minor version.

Paste a line that mixes genuinely delimited fields with any of these, a file path, an approximate figure, a version string, and the tilde inside that content gets split apart along with the real field boundaries.

The underlying tradeoff

Why rarity, not invisibility, is what makes a delimiter work

A tilde is a perfectly visible, ordinary keyboard character, unlike a zero-width space or a non-breaking space. What makes it useful as a delimiter is not that it is hidden but that it is uncommon in the specific kind of data being exported, names, amounts, codes, dates. The moment that data includes a shell path, a version string or an approximation, the assumption of rarity stops holding.

This is the same underlying tension the caret converter deals with, and every rare-character delimiter in this family, the choice works precisely because the data was expected to be ordinary business content, not technical text.

Straight answer

Is tilde delimiting still common today?

Not especially, most modern exports and APIs have moved on to comma-separated files, JSON or JSON lines. It survives mainly in older systems, legacy integrations and archived exports that were never rebuilt.

If you are looking at a fresh export from a current system, a tilde delimiter would be unusual. If you are working with an older flat-file format or a legacy integration, it is worth checking for.

Who uses it

Who uses a tilde to JSON array converter, and when

Developers and integration engineers working with an older system's flat-file export use it to get a single tilde-delimited row into JSON without building a dedicated parser for a legacy format. Anyone migrating data out of an older EDI-adjacent or mainframe-connected system uses it to inspect a sample row before writing a proper import.

It also comes up during data archaeology, opening an old export file to figure out its structure before deciding what to do with the data inside it.

FAQ

Tilde to JSON array FAQ

Everything below is answered in full, nothing to click open.

How do I convert a tilde-delimited line to a JSON array?

Paste the line into the box above and press Convert. Each tilde-separated value becomes one array item.

Is the tilde to JSON array converter free?

Yes. No signup, no paste limit, no usage 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 do some exports use a tilde instead of a comma?

A tilde almost never appears in ordinary business data, names, amounts, dates, which made it a safer delimiter choice for older export formats than a comma.

Will it split apart a shell path like ~/Documents?

Yes, a tilde used as home-directory shorthand is indistinguishable from a delimiter to this tool and will be split there too.

Will it split apart an npm version range like ~1.2.3?

Yes, the tilde in a version range is treated the same as a delimiter here, which breaks the version string apart.

Does it work on modern exports too?

It splits any tilde-delimited text regardless of age, though tilde delimiting is now mostly found in older, legacy export formats.

What happens to spaces around each value?

They are trimmed automatically, so any stray spacing around a value is removed.

What happens with two tildes in a row?

The empty item between them is dropped rather than kept as a blank array entry.

Does it work on large pastes?

Yes, there is no length cap and no run limit.

Does it work on phones?

Yes, the layout stacks on narrow screens.

What is the difference between this and the caret to JSON array tool?

Both target the same kind of legacy delimited export, chosen for rarity, but this splits on a tilde and the other on a caret. Use whichever character your source file actually uses.

Will it split apart an approximate value like ~10 items?

Yes, that tilde is treated the same as any other, so casual text using it to mean approximately will be split apart if pasted.

Is there a batch mode or an API?

Not yet. Paste, convert, copy is the fastest route for now.

How do I know if my export uses a tilde delimiter?

Open the raw file in a plain text editor and look for a tilde character appearing at regular intervals between values.

Does it validate the resulting JSON?

The output is always syntactically valid JSON, built with JSON.stringify. It cannot tell you whether the split points matched your data's intent.

Can I use this on healthcare or insurance data exports?

Yes, tilde delimiting shows up in some legacy back-office formats in those industries. Paste a sample row to check the structure.

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

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

Can I convert several rows at once?

The tool treats the whole paste as one sequence, so multiple rows produce one combined array rather than one per row. Convert one row at a time for cleaner results.

What is the difference between this and the custom delimiter tool?

This tool is fixed to a tilde. The custom delimiter tool accepts any separator you type, useful if your export uses a different rare character.

Turn a tilde-delimited line into JSON.

Paste, convert, copy. Nothing leaves your browser and there is no limit on how often you use it.

Convert my line