Transform Raw Code Into
a Readable Workspace

CodePrettify automatically formats, validates, and highlights raw JavaScript, JSON, CSS, and RSS/Atom files the moment you open them. Get an IDE-like experience directly in your browser.

📄 Supported Code Formats

JavaScript .js JSON .json CSS .css RSS/Atom .rss .atom

🌐 14 Interface Languages

English Norwegian Swedish Danish German French Spanish Italian Portuguese Russian Chinese Japanese Korean Vietnamese

📺 See It In Action

Features

Everything You Need

From diagnostics and JSON inspection to cURL export and large-file navigation, CodePrettify has you covered.

🚀

Smart Automation

Open a raw-code resource and CodePrettify turns it into a readable workspace automatically.

  • Detects supported resources by URL and HTTP content type
  • Supports JavaScript, JSON, CSS, XML, and RSS/Atom feeds
  • Intelligent minification detection formats dense files automatically
  • Works on web URLs and local files (file://) with zero-flash loading
🛡️

Diagnostics & Validation

Catch syntax problems and inspect document quality without leaving the page.

  • JSON syntax errors include exact line references
  • JavaScript and CSS validation provide instant feedback
  • Diagnostics panel shows syntax status and file-type-specific insights
  • Warnings flag very long lines, mixed indentation, and other quality issues
📂

Interactive JSON Tools

Explore, decode, and inspect structured data without losing context.

  • Collapsible arrays and objects for easy navigation
  • JSON path inspector and query tools for large payloads
  • Clickable URLs and timestamp tooltips inside JSON values
  • Base64 and JWT decoding with a dedicated read-only modal
🛠️

Developer Toolkit

Practical tools for debugging APIs and working with raw resources efficiently.

  • Generate copy-ready cURL and fetch() commands from the current page
  • Advanced search with regex support, match counts, and navigation
  • Go to Line, copy actions, and export tools speed up debugging
  • Download files as Original, Formatted, Minified, or CSV when data qualifies
🧭

Large-File Navigation

Stay oriented in long documents with tools built for real-world payloads.

  • Document Navigator outlines JSON, JavaScript, and XML/RSS structure
  • Code minimap makes large documents easier to scan and jump through
  • Expand/Collapse All controls help manage deeply nested content
  • Restores fold state, search text, highlighted line, and display mode
🔒

100% Privacy First

Your code stays on your machine. Always.

  • Everything runs client-side in your browser
  • No servers, no tracking scripts, and no external processing
  • Request and response metadata stays local to your session
  • Open source and transparent
Efficiency

⌨️ Keyboard Shortcuts

Master CodePrettify with these quick commands

Ctrl + B Toggle Raw/Pretty
Ctrl + Alt + C Copy to Clipboard
Ctrl + F Open Search
Ctrl + G Go to Line
Ctrl + Alt + T Toggle Toolbar
📝

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 Chrome's extension management page (chrome://extensions).