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, and export 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
Move Cleanly Into The Next Tool
Generate commands, copy the right variant, and export the exact format you need.
-
Generate copy-ready
cURLandfetch()commands from the current page - Copy original, formatted, or minified code directly from the toolbar
- Export as original, formatted, minified, CSV, HTML table, or PNG image
- Advanced search supports regex, match counts, and fast navigation
Stay Oriented In Large Files
Navigate long documents confidently, compare revisions, and jump back into the same view later.
- Document Navigator outlines JSON, JavaScript, and XML/RSS structure
- Code minimap makes large documents easier to scan and jump through
- Compare with Clipboard adds synchronized side-by-side diffing, swap sides, and line stats
- Restore and share search text, highlighted lines, fold state, and display settings by URL
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
- 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.
