Text to JSON
Paste a list — one item per line — and get a valid JSON array. Numbers and booleans are auto-detected, whitespace trimmed, empties skipped.
Most processing happens locally in your browser. Your inputs are processed on your device and are not uploaded.
Options
Input
Output
Related tools
How to use
- 1
Paste or type your lines.
- 2
Toggle trimming, typing and empty-line handling.
- 3
Copy or download the JSON.
Supported formats
Accepts
Produces
FAQ
Lines like 42, 3.14, true or null become real JSON values instead of strings.
Quotes, backslashes and control characters are escaped automatically — output is always valid JSON.
For delimited data use Text to CSV in reverse or JSON tools; this tool treats each line as one value.
Generous browser-side limits (around 1MB of text) — plenty for config lists and datasets.