Make Raw Code
Instantly Readable
Open a raw API response, minified bundle, or feed and start working immediately. CodePrettify formats the document, surfaces response details, and gives you fast ways to inspect, compare, copy, export, and even run JavaScript against what you are looking at — all without leaving the browser.
Built for JSON payloads, CDN bundles, XML feeds, YAML configs, and
local file:// documents.
CodePrettify for Windows is live on Microsoft Store
Install the desktop app when you want the same formatting, validation, search, diff, and export workflow for local files with native tabs and menus.
๐ Supported Code Formats
Detects supported files by URL and HTTP content type, including
local file:// resources when file access is enabled.
๐ 14 Interface Languages
Keep the UI on auto-detect or choose your preferred language, theme, and file-type behavior from settings.
๐บ See It In Action
A closer look at the workflow
These are the views that matter most when you are inspecting raw responses, comparing revisions, and cleaning up large payloads.
Show the jump from compressed bundles to readable code
Capture the same minified JavaScript file in raw mode and prettified mode so visitors can immediately see what the extension cleans up.
Built For Real Debugging Work
Move from raw response to useful insight in seconds with tools designed for inspection, comparison, and cleanup.
Open It And Start Reading
CodePrettify recognizes supported raw-code resources and turns them into a usable workspace immediately.
- Detects supported resources by URL and HTTP content type
- Supports JavaScript, TypeScript, JSON, JSONL, CSS, YAML, XML, and RSS/Atom feeds
- Intelligent minification detection formats dense files automatically
- Switch between original, formatted, minified, and raw views without a clumsy page refresh
Spot Problems Faster
See what is wrong with the document and what came back from the server in the same place.
- JSON syntax errors include exact line references
- JavaScript and CSS validation provide instant feedback
- Diagnostics panel shows syntax status, warnings, and file-type-specific insights
- HTTP context reveals the request URL, content type, encoding, size details, and timing hints
- Statistics panels surface file size, line count, and document-specific metrics
Inspect Structured Data Without Friction
Query, decode, and inspect large structured payloads without losing your place.
- Collapsible arrays and objects for easy navigation
- JSON path inspector and query tools with autocomplete, validation, and copy actions
- Table View renders JSON arrays and XML or RSS data as sortable, searchable tables
- Clickable URLs, timestamp tooltips, and inline decode helpers speed up inspection
- Base64 and JWT decoding opens a dedicated read-only modal for safer analysis
Navigate, Compare & Export
Move through large documents, compare revisions, copy the right variant, and export the exact format you need.
- Document Navigator and syntax-aware code minimap make long files easy to scan and jump through
-
Full-screen side-by-side diff (
Ctrl+Alt+D) with synchronized scrolling, line stats, and swap sides -
Advanced search with regex (
/pattern/flags), result counting, and Go To Line (Ctrl+G) - Copy original, formatted, or minified code, and export as CSV, HTML table, or PNG image
-
Generate copy-ready
cURLandfetch()commands and share a view-state URL with teammates
Run JavaScript Right There
A sandboxed Playground modal lets you prototype, debug, and poke at the file you are looking at without ever leaving the tab.
-
Runs code in an isolated Web Worker with configurable 1 / 5 / 15 second timeouts and top-level
await -
Captures
console.log,info,warn,error,debug, andconsole.table(rendered as a real HTML table) - Optional “Include filename” mode brings the current file into scope so you can call its top-level functions
- Autocomplete for functions, methods, classes, and variables with parameter signatures
- Code, timeout, and preferences autosave so you can return to your scratchpad from any page
Fits Your Workflow And Stays Local
Your code stays on your machine, and the viewer adapts to how you work.
- Everything runs client-side in your browser
- No servers, no external processing, and no code leaves your session
- Playground code runs in a null-origin sandbox iframe and a fresh Web Worker per execution — no access to the host page, the extension, or the network
- Choose Light, Dark, or Auto theme and override the UI language when needed
- Adjust line numbers, word wrap, toolbar, minimap, and file-type-specific behaviors
โจ๏ธ Keyboard Shortcuts
Master CodePrettify with these quick commands
Note for Local Files
To use CodePrettify with local files (e.g.,
file:///C:/code/data.json), you must enable
"Allow access to file URLs" in your browser's
extension management page, such as chrome://extensions
or edge://extensions.
Why The Extension Needs Page Access
CodePrettify reads supported raw-code pages in the current tab so it can format, validate, compare, search, and export the file you are already viewing. That handling stays local in your browser and is limited to the user-facing features described on this site, in the product UI, and in the browser extension marketplace listings.
What it uses
Supported page content, the resource URL, browser-reported content type, character encoding, response-size hints, timing hints, and local settings.
What it does not do
It does not send your file contents to FixQuotes, sell browsing data, inject ads, or read request headers, response headers, cookies, or request bodies.
Rare network retry
If a JavaScript file looks incorrectly decoded with a legacy charset, CodePrettify may re-request the same URL directly from the site you are on to recover valid UTF-8 text.
Full details are in the privacy policy.
Our Other Extensions
Check out our other free browser extensions
FixGuard
Block ads, hide cookie banners, and browse clean with zero tracking.
FixQuotes
Daily quotes on every new tab with scenic backgrounds and dark mode.
TabConnect
Secure tab sharing with short passwords and encrypted remote viewing.
NotePin
Sticky notes for any page with sync, colors, search, and dark mode.
