A fast, IDE-like viewer for raw JSON, code, and data files: format, validate, fold, search, diff, and inspect.
Users
230
β3 in 30 days
Rating
4.8 / 5
unchanged in 30 days
Ratings
4
0 in 30 days
Store rank
#60K
#50K among extensions
Version
1.0.62
updated 30 Sep 2026
Users
monthly, 9 months
Latest, 15 Oct 2026:230 usersMove the mouse over the chart for any month
Ratings count
monthly, 9 months
Latest, 15 Oct 2026:4 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About CodePrettify: JS, JSON, CSS & RSS Formatter
CodePrettify turns raw, unformatted developer files into a clean, IDE-like workspace the moment you open them. Whether you're staring at a dense API response, a config file, a data dump, or a minified asset, it formats and highlights the content instantly β then gives you the tools to navigate, validate, fold, search, compare, convert, inspect, and export it, all locally in your browser.
π INSTANT, READABLE FORMATTING
β’ Beautifies supported files the moment they open, with minification detection so compressed files become readable and already-clean files are left untouched
β’ Modern CodeMirror 6 editor with VS Code-inspired syntax highlighting
β’ Code folding, bracket matching, line numbers, and a zero-flash loader that prevents raw-content flicker
β’ One-click toggle between the original and the formatted view
π STRUCTURED DATA TOOLS
β’ Collapsible tree view for JSON, with breadcrumb navigation and JSONPath query tools (autocomplete, validation, copy per result)
β’ Table View turns arrays of objects and repeating feed entries into sortable, searchable tables, with chunked loading for big datasets
β’ Clickable URLs and import paths
β’ A clean reading preview for Markdown documents, with embedded HTML kept inert for safety
π FORMAT CONVERSION
β’ Convert a structured document from one format to another β such as JSON to YAML β and download the result, with only valid targets offered for each file
ποΈ COMMAND PALETTE
β’ Press Ctrl+Shift+P to fuzzy-search and run any action β search, go to line, copy, export, convert, compare, statistics, navigator, table view, and more β without hunting through menus
β’ Only commands relevant to the current file are shown
π§ͺ JAVASCRIPT PLAYGROUND
β’ Runs real code in a sandboxed Web Worker with a configurable 1 / 5 / 15 s timeout
β’ Captures console output and renders console.table as a real HTML table
β’ Reports the return value, execution time, and full stack traces
β’ Optional "Include current file" lets you call its top-level functions
β’ Autocomplete with parameter signatures, top-level await, and auto-saved scratch code
β’ Inspect Runtime (Ctrl+Alt+I) annotates a file with inline runtime values you can jump to
β’ Ctrl+Alt+P to open, Ctrl+Enter to run, Ctrl+Space for autocomplete
π HTTP CLIENT
β’ A full Postman-style client on any web page β compose requests with method, URL, and dedicated Params, Auth, Headers, and Body tabs
β’ Auth presets (Bearer, Basic, API key) and multiple body modes, including form-urlencoded and validated payloads
β’ Save named requests, keep per-URL history, and use environments with {{variable}} interpolation and a live resolved-URL preview
β’ Import cURL commands; copy requests as cURL, fetch(), or PowerShell
β’ Inspect responses across Body, Headers, Cookies, and Raw views
π§ NAVIGATION & LARGE FILES
β’ Document outline with click-to-jump
β’ Syntax-aware minimap rendered on an offscreen canvas
β’ Per-page view state β fold state, search, highlights, and view mode β restored automatically
β’ Shareable configuration URL recreates the exact view for teammates
β’ Go to Line (Ctrl+G) remembers your last position
π INSIGHTS & VALIDATION
β’ Diagnostics panel with syntax status, warnings, and the request's HTTP context (URL, content type, encoding, size, and timing)
β’ Built-in validation with precise line and column error reporting
β’ Statistics such as size, line count, structural depth, symbol counts, and selector or tag counts
𧬠COMPARE & DIFF
β’ Full-screen split diff (Ctrl+Alt+D) with line-level highlighting, synced scrolling, stats, and swap-sides
π SEARCH
β’ Floating search (Ctrl+F) with live result counts, plus /pattern/flags regular-expression search
π DATA INSPECTION
β’ Inline Base64 and JWT decoding with a copy modal
β’ Unix timestamp detection and human-readable date tooltips
π REGEX PLAYGROUND
β’ Test patterns live against the open document with instant in-viewer highlighting
β’ Match list with counts and jump-to-result, capture and named groups, a built-in guide, an example library, and remembered patterns (Ctrl+Alt+R)
π€ EXPORT & SHARING
β’ Copy the original, formatted, or minified content
β’ Export as a PNG image (viewport or full file), a CSV file, or an HTML table
π¨ CSS UTILITIES
β’ Color swatches with a built-in picker; copy a color as HEX, RGB, or HSL
π PRIVACY & SECURITY
β’ 100% local processing β no external requests, no telemetry, and no third-party runtime dependencies
β’ Playground code runs in a null-origin sandbox with a fresh worker per run, with no access to the page, the extension, or the network
β’ Safe for APIs, tokens, internal systems, and production data
π WORKS EVERYWHERE
β’ Activates on raw-code responses and local files, and recognizes supported file types from the response Content-Type even when the URL has no file extension
βοΈ CUSTOMIZABLE
β’ Light, Dark, and Auto themes; adjustable font size, indent, line numbers, word wrap, and minimap
β’ Per-file-type preferences, a language selector, and settings synced across your devices
β¨οΈ KEYBOARD SHORTCUTS
β’ Ctrl+B β Raw / Pretty
β’ Ctrl+Alt+C β Copy
β’ Ctrl+F β Search
β’ Ctrl+G β Go to Line
β’ Ctrl+Alt+T β Toggle toolbar
β’ Ctrl+Alt+D β Compare / Diff
β’ Ctrl+Alt+P β JavaScript Playground
β’ Ctrl+Alt+I β Inspect Runtime
β’ Ctrl+Alt+R β Regex Playground
β’ Ctrl+Shift+P β Command Palette
π LOCAL FILES
Open local files by enabling "Allow access to file URLs" in your browser's extension settings, or just drag a file onto β or pick one from β the CodePrettify launcher to open it instantly (no permission needed).
Available in 14 languages.