RawLens
Junbao Yang
RawLens helps developers inspect messy JSON and raw developer output without leaving Chrome. The core workflow is JSON from anywhere: selected text, hovered page elements, clipboard content, page source, page HTML, and raw pages opened directly in the browser. RawLens is especially useful for nested JSON string fields like {"foo":"{\"bar\":1}"}, where normal formatters clean up the outer object but leave the useful inner payload escaped. Highlights: - Pretty-print messy JSON, including nested JSON strings, stack traces, escaped newlines, and copied error payloads. - Inspect JSON from selected text, hovered DOM nodes, clipboard content, raw pages, page source, or page HTML. - Render ANSI terminal colors from CI logs, build logs, and copied command output. - Auto-format source-like files opened directly in Chrome, including YAML, JavaScript, CSS, Markdown, SQL, patch, diff, HTML, XML, and more. - Reopen recent views from a local History panel. - Use quick shortcuts: vv, pp, cc, hh, xx, ff, and Esc. - Works locally in your browser. No server, no tracking, no log collection. Common use cases: - Reading API JSON responses with nested error bodies. - Pretty-printing copied production error logs. - Formatting selected JSON on an internal dashboard, issue page, or incident note. - Inspecting JSON from the clipboard without pasting it into an online formatter. - Viewing raw GitHub/GitLab CI logs with ANSI colors. - Opening YAML, JSON, JavaScript, CSS, Markdown, SQL, patch, and diff files. RawLens is open source and MIT licensed: https://github.com/RawLens/rawlens