KRHTech

KRHTech Text Format Converter

Free tool · Data

Text Format Converter

Paste data in one shape, pick what it is and what you want it to become, and convert. Covers JSON, JS-style arrays, CSV, key-value lines, and plain comma or line lists.

Input

Output

Five shapes, any direction.

Every format converts to every other one. Pick a source, pick a target, done.

JSON

Arrays or objects, pretty-printed on output.

[{"name":"Ada"}]

Array

One item per line or comma — or a JSON array literal.

Ada, Grace

CSV

A header row plus comma-separated values, one row per line.

name,role

Key: Value lines

One field per line, split on the first colon.

role: Engineer

Plain list

A simple comma or newline separated list of values.

Ada, Grace, Margaret

Questions about this tool.

For anything else, see the site-wide FAQ or get in touch.

What happens to nested objects when converting to CSV?

The header row is built from the union of keys across every row, so records with different shapes still line up. Deeply nested values are written out as their raw JSON inside the cell rather than being flattened automatically.

Does my file get uploaded anywhere?

No. Uploading a file just reads it into the input box using your browser's local file reader — the content never leaves your device. There's a 2 MB limit on uploads to keep the tab responsive.

Why did my conversion fail?

The most common cause is picking the wrong "From" format for what's actually in the box — for example, choosing JSON for text that isn't valid JSON. The error message under the panels names the specific parsing problem.