A JSON/JSONL viewer and editor designed for readability and practical editing workflows.
Screenshot of JSON Light Plus in action — click for the full-size image.
Just visit https://dpavlis.github.io/jsonlight_plus/ in your browser—no installation needed!
- Clone this repository (or download just the
docssubdirectory) - Open
docs/index.htmlin your browser - Start viewing and editing your JSON/JSONL files
Completely standalone—runs entirely in your browser with no dependencies.
Unlike most JSON viewers, JSON Light properly renders multi-line string values with actual line breaks instead of \n escape sequences. No more cluttered, compact passages—see your text as it's meant to be read.
This Plus version adds powerful editing features specifically designed for working with LLM training data formats like ShareGPT and Alpaca:
- Paging: Split large JSON(L) files into manageable pages for easier navigation and editing
- Plain-text editing: Edit JSON string properties as plain text—no manual escaping of newlines, quotes, or special characters (with optional syntax highlighting for working with code snippets)
- Duplicate & delete: Quickly clone or remove array elements, perfect for managing conversational training examples
- Search & replace: Find and modify content across your dataset efficiently (with Regex support for advanced use cases)
While preparing LLM training data in ShareGPT (JSONL) and Alpaca (JSON) formats, I struggled to find a free tool that let me edit multi-line code examples and conversation text without wrestling with JSON escaping. This fork bridges that gap by combining the original JSON Light's excellent display with practical editing capabilities.
Grateful thanks to:
- The original JSON Light author for the solid foundation
- GitHub Copilot for accelerating the development of these extensions