New:Socket for Asana Is Now Available.Learn more
Get Started

jsonlviz

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonlviz

Fast, beautiful local-first web viewer for JSONL / NDJSON log files. Zero dependencies.

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
17
-94.35%
Maintainers
1
Weekly downloads
 
Created
Source

jsonl.site — JSONL Visualizer

A fast, beautiful, local-first web viewer for JSONL / NDJSON log files.

🌐 Use it online: https://jsonl.site — 100% client-side, files never leave your browser.

Prefer a CLI with live tail? Zero runtime dependencies — just Node.js (≥ 18):

npx jsonlviz ~/logs

jsonlv

Features

  • 📂 Open files easily — click the Open file button (native OS file picker), drag & drop files anywhere on the page, or pass files/directories to the CLI. Files opened in the browser are parsed locally — nothing is uploaded
  • 📄 Raw view — toggle the Raw button (or press v) to see each line exactly as it is on disk, with search highlighting intact
  • 🔃 Sorting — click any column header (time, level, message, dynamic columns) to sort ascending → descending → off
  • ⏱️ Last N filter — one-click menus for "last 1/5/15/30/60 minutes" or "last 50/100/500/1000 lines"
  • ⬇️ Follow mode — auto-scrolls to the newest lines while live tailing (button, f key, or -F CLI flag); scrolling up pauses it automatically
  • 🕘 Recent files — sidebar remembers the last 10 opened files; in Chromium they reopen with one click (via the File System Access API), elsewhere server/CLI files reopen by path and browser files are dimmed when unavailable
  • 🚫 Drop dedup — dropping the same file twice never duplicates it
  • Streaming parse — handles huge files, everything stays in your browser
  • 🔍 Search — substring or regex (.* toggle), with match highlighting
  • 🎛️ Auto-detected columns — timestamps, levels, messages and any recurring fields become columns automatically
  • 🏷️ Facets — one-click filters for low-cardinality fields (direction, kind, method, status…)
  • 📊 Time histogram — stacked by log level, drag to zoom into a time range
  • 🐛 Row inspector — collapsible JSON tree, raw view, copy JSON / raw
  • 🔴 Live tail — follows your file like tail -f while your app writes to it (SSE, auto-reconnect, truncate-safe)
  • 🎨 Dark / light theme, keyboard-driven (/ search, j/k navigate, Enter inspect, Esc close)
  • 🚀 Works with any JSONL — auto-detects timestamp/ts/time, level/severity, message/msg/event, and more

Install

npm install -g jsonlviz

or run it ad-hoc:

npx jsonlviz <path>

Usage

jsonlviz                                # open viewer in drag & drop mode
jsonlviz app.log.jsonl                  # open one file (live tail on)
jsonlviz ~/logs                       # register every *.jsonl under a directory
jsonlviz --port 9000 a.jsonl b.jsonl    # multiple files, custom port
jsonlviz --no-open                      # don't launch a browser
jsonlviz -F ~/logs/app.log.jsonl        # start with Follow (auto-scroll) enabled
jsonlviz --no-watch                     # disable live tail

Flags:

flagdescription
-p, --port <n>port (default 7777; auto-increments if busy)
--host <h>bind host (default 127.0.0.1)
--no-opendon't auto-open the browser
-F, --followstart with Follow (auto-scroll to newest lines) enabled
--no-watchdisable live file tailing
-v, --version / -h, --helpthe usual

Security: the server only serves the files you explicitly registered on the command line — no arbitrary filesystem access, and it binds to localhost by default.

Keyboard shortcuts

keyaction
/focus search
j / k or / move selection
Enterinspect selected row
Escclose drawer / clear search
g / Gjump to top / bottom
vtoggle raw line view
ftoggle follow (auto-scroll)
click column headersort asc → desc → off
drag on histogramzoom into time range (double-click resets)

License

MIT

Keywords

jsonl

FAQs

Package last updated on 19 Aug 2026

Related posts