key=value, key: value, user.name=..., items[0].id=..., or array items - value
"001" or '001'. To embed objects/arrays, paste valid JSON: meta={"a":1}.- JSON Checker — Validate, Format & Minify JSON
- Online XML Generator (JSON → XML)
- UUID Tools — Generate, Validate, Normalize (v4/v7)
- Online JWT Generator (HS256) — Create & Sign Tokens
- Regex Checker (Test Matches, Flags, Groups)
- Online Base64 Converter — Encode & Decode UTF‑8 Text
- Online Regex Converter to Text (Unescape Regex Patterns)
- XML Tools Plugin for Notepad++ (Online Alternative)
How to use
Enter one field per line. Use = or : between key and value. For nested fields use dots, and for arrays use [index].
- Type lines like
user.name=Alice,age=30,items[0].id=1. - Click Generate to produce JSON.
- Use Pretty / Minify and Copy as needed.
FAQ
What input formats does this JSON generator accept?
Use one entry per line with key=value or key: value. For arrays you can use items[0].id=1 or dash items like - hello.
How do I create nested JSON objects?
Use dot notation in keys, for example user.profile.name=Sam creates nested objects.
How do I generate JSON arrays?
Use bracket indexes like items[0].name=Pen, or switch Root to Array and enter plain values (or use - value lines).
Does it auto-detect numbers, booleans, and null?
Yes: 30, true, false, and null are converted automatically. Wrap values in quotes to force strings (e.g., "001").
Can I embed objects or arrays as values?
Yes—paste valid JSON like meta={"a":1} or tags=["dev","ops"].
Why am I seeing an “Index used on a non-array” error?
It usually means you used [0] on a path that was already created as an object. Keep the structure consistent or disable Strict paths if you want looser behavior.
Is my data sent to a server?
No. The generator runs entirely in your browser and does not make network requests.