NDJSON tool

Validate and format NDJSON locally, and convert between JSON arrays and line-delimited JSON.

Local browser processing
This page has passed the public directory check; full functionality is available after enabling JavaScript.
User Guide

How to use the NDJSON tool

NDJSON Tool processes input only in the current browser; it does not upload, connect to the internet, or save user data.

  1. Input content

    Paste or load text containing one JSON value per line, or enter a JSON array.

  2. Select a processing method

    Check for line-number errors, remove blank lines, format a single line, or choose the conversion direction between arrays.

  3. Check and export

    After confirming valid and failed lines, copy or download the NDJSON/JSON results.

Limitations and Notes

  • Up to 50,000 lines, 100 KiB per line, 1 MiB total input.
  • Invalid lines will not be silently discarded; partially successful results must be reviewed line by line.
  • The tool only provides locally processed results; important configurations, secrets, documents, and published content must still be reviewed in the target environment.

FAQ

Will the input be uploaded to a server?

No. The page only uses browser memory, the local file API, and local resources already provided with the site.

Are invalid lines automatically deleted?

No. The tool preserves erroneous line numbers and reasons, and generates new output only when the user explicitly chooses to clean it up.

Why do the results still require manual review?

Edge-case syntax, regional standards, third-party readers, and target runtime environments may differ; the tool does not replace final validation.

Page feedbackFound an issue or have suggestions for improvement?
Feedback features need to be used in the online version

Please enable JavaScript in the online version before submitting; local features of the current tool or example are not affected.

Go to the online version for feedback