Skip to content

fly0pants/jsonformatter-plugin

Repository files navigation

JSON Formatter

A powerful Chrome extension for formatting, validating, and manipulating JSON data with a clean and modern interface.

Features

🎯 Core Features

  • JSON Formatting: Beautify and format JSON with proper indentation
  • JSON Validation: Real-time syntax error detection with precise error location
  • JSON Minification: Compress JSON by removing whitespace and formatting
  • JSON String Conversion: Convert JSON objects to escaped JSON strings and vice versa
  • Syntax Highlighting: Color-coded JSON for better readability
  • Dark Mode: Support for both light and dark themes

💪 Advanced Features

  • History Tracking: Automatically save recent JSON operations
  • Copy to Clipboard: Quick copy of formatted or minified JSON
  • Size Statistics: Display JSON size and line count
  • Error Highlighting: Visual indication of JSON syntax errors
  • Keyboard Shortcuts:
    • Cmd/Ctrl + B: Format JSON
    • Cmd/Ctrl + M: Minify JSON
    • Cmd/Ctrl + L: Clear content
    • Cmd/Ctrl + H: Toggle history panel

🎨 User Experience

  • Split View: Side-by-side editor and preview panels
  • Responsive Design: Adapts to different window sizes
  • Monospace Font: Optimized for code readability
  • Error Guidance: Clear error messages with line and column numbers
  • Persistent Settings: Remember user preferences (theme, etc.)

🛠 Technical Features

  • No External Dependencies: All processing done locally
  • Fast Performance: Instant JSON validation and formatting
  • Memory Efficient: Optimized for handling large JSON files
  • Secure: No data sent to external servers

Installation

  1. Visit the Chrome Web Store (link coming soon)
  2. Click "Add to Chrome"
  3. The extension icon will appear in your browser toolbar

Usage

  1. Click the extension icon in your browser toolbar
  2. Paste or type your JSON in the left panel
  3. Use the toolbar buttons or keyboard shortcuts for different operations
  4. View the formatted result in the right panel
  5. Copy the result or continue editing as needed

Privacy

This extension processes all data locally in your browser. No data is sent to external servers or stored outside of your local browser storage.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors