Data Formats

JSONL / NDJSON Parser

Parse JSONL and concatenated JSON streams and extract nested fields.

  • History kept on this deviceRecent results are kept in this browser's local storage until you clear them.
  • Runs in your browserProcessing happens in this page. No application server receives your input.
More options

Input

Records

What each control does

  • Parse splits the input into records and reads the field path from each.
  • Copy copies the extracted values, one per line, in record order.
  • Aligned and Standard choose the view: Aligned puts record n and its value on one numbered row, and Standard scrolls the two columns separately.
  • Show source and Show values (under More options) hide a column. One column always stays visible.

Field path

  • Dot keys such as user.id, indexes such as [0], and quoted keys such as ['b c'] or ["b c"]. Chain them to reach a nested value: items[0].name.
  • An empty path gives the whole record.
  • A path that does not exist, is malformed, or names __proto__, constructor or prototype gives undefined, and no error is raised.

Example

Input: {"user":{"id":7}}{"user":{"id":8}}

Field path: user.id. Rows 1 and 2 show 7 and 8.

Limits

  • A top-level scalar such as 1, "text" or true is not a record, and text outside {โ€ฆ} and [โ€ฆ] is not read. Input with content but no record is reported.
  • A record that is never closed takes every record after it into one reported failure.
  • Extracted strings are unescaped, so a literal \ followed by n is shown and copied as a line break.
  • A value that holds a line break spans several lines of the copied text.
  • Integers beyond 2^53 lose precision: 12345678901234567890 becomes 12345678901234567000.
  • A failed record's text in the source column is cut to 500 characters.
  • A very large result, or a very large record coming into view, can pause the page briefly.
  • Input of 32.0 KB or more, or a field path of 1.0 KB or more, runs in the background and can be cancelled. Anything smaller runs at once and cannot be cancelled.
  • Bounds: input of 16.0 MB, 1000000 records, 64 levels of nesting, 200000 keys in a record, output of 16.0 MB, and 30 seconds for a background run.

Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.