Need to convert a JSON array into simple text lines, or turn a list of lines into a JSON array? This free tool handles both directions instantly. Supports formatted and inline output, configurable indentation, and empty line skipping.
Convert from JSON array to lines or from lines to JSON array with a single mode switch.
Choose between compact inline JSON or pretty-printed JSON with configurable indentation.
Non-string values in JSON arrays (numbers, objects) are converted to their string representation.
When converting lines to JSON, optionally skip blank lines to keep the array clean.
The status bar shows whether the input is valid JSON, helping catch syntax errors.
All processing runs in your browser. Your data never leaves your device.
Enable Auto-fill to carry your output to the next tool. Navigate back and forward with full state restoration — input, output, and all settings are preserved.
Take a JSON array of tags or categories and convert it to a simple list with one item per line for easy scanning and editing.
Type or paste a list of country names, one per line, and instantly convert it into a properly formatted JSON array.