Changelog

All notable changes to CodePrettify are documented here.

v1.0.1 Latest January 25, 2026

✨ New Features

  • RSS/Atom Feed Support — New file format support for .rss and .atom files with syntax highlighting, auto-formatting, code folding for XML elements, clickable URLs (with entity decoding), and feed statistics (tags, attributes, namespaces, etc.).
  • Code Folding (JS) — Collapse/expand functions, classes, objects, and code blocks. Hover over a foldable line to see the fold toggle. Use Collapse All / Expand All buttons in the toolbar. Can be enabled/disabled in settings.
  • Bracket Matching (JS) — Hover over {, (, or [ to highlight its matching pair. Both brackets are highlighted with visual feedback. Can be enabled/disabled in settings.
  • Code Folding Setting (JSON) — Added a setting to enable/disable the collapsible JSON feature.
  • Code Statistics Panel — View file size, line count, and character count. Language-specific stats: JSON (object depth, key count, array sizes), JS (function count, variable count), CSS (selector count, rule count, media queries).
  • Hex/RGB Color Preview (CSS) — Color swatches appear next to color values. Click to copy color in different formats. Includes a color picker.
  • Breadcrumb Navigation (JSON) — Shows path like root › data › users[0] › name when hovering/clicking. Click any breadcrumb to jump to that level.
  • Clickable URLs & Imports — URLs in strings and import/require paths are now clickable links.

🔧 Improvements

  • Unified Layout — Adjusted all modal windows, toolbars, and UI elements to use CSS variables instead of hardcoded colors for consistent theming.
  • Enhanced Syntax Checker — Removed vanilla JavaScript validation and replaced it with a sandboxed environment for safer and more accurate syntax checking.

🐛 Bug Fixes

  • RSS Feed Rendering — Fixed issue where RSS feeds opened in a background tab (XHTML mode) failed to render correctly or caused high CPU usage. Now waits for tab visibility before rendering.
v1.0.0 Initial Release January 2026

🚀 Smart Automation

  • Auto-Format: Automatically detects messily formatted code and beautifies it with your preferred indentation
  • Intelligent Minification Detection: Analyzes code density—if a file is minified, it formats it automatically; if it's already clean, it adds syntax highlighting
  • Local File Support: Works seamlessly on web URLs and local files (file://) opened in the browser
  • Zero-Flash Loading: Engineered to prevent raw text from flashing before the beautifier loads

🛡️ Syntax Validation & Error Checking

Don't just read code—debug it. CodePrettify scans your files for common errors with instant feedback.

  • JSON: Detects syntax errors and provides the exact line number
  • JavaScript: Identifies mismatched braces, brackets, and common typos
  • CSS: Validates structural integrity
  • Instant Feedback: Invalid code triggers non-intrusive toast notifications with error details

📂 Interactive JSON Viewer

  • Collapsible Data: Fold arrays and objects to navigate large datasets easily
  • Smart Previews: See summary info (e.g., Array(5) or {3 keys}) when blocks are collapsed
  • Clickable Links: URLs inside JSON strings automatically become clickable hyperlinks
  • Expand/Collapse All: Dedicated buttons to manage massive JSON files instantly

🛠️ Powerful Toolkit

  • Advanced Search: Custom search bar (Ctrl+F) with result counting and navigation—works even on huge files
  • Go To Line: Jump straight to specific lines (Ctrl+G), perfect for debugging stack traces
  • Export Options: Download your file in three formats: Original, Formatted, or Minified
  • Copy to Clipboard: Quick one-click copy functionality

⚙️ Fully Customizable

  • Themes: Choose between Light, Dark, or Auto (syncs with system)
  • Format Settings: Adjustable font size (10-24px), indentation (2 or 4 spaces), and line numbers
  • Privacy First: 100% client-side—your code never leaves your browser

⌨️ Keyboard Shortcuts

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

🌐 Multi-Language Support

Supports 14 languages including English, Norwegian, German, Spanish, and Chinese.