🥷 Json Ninja

Chrome extension for parsing, formatting, and visualizing JSON with syntax highlighting, tree view, and search

✨ Powerful Features

Real-time Validation

Instantly validate JSON with clear error messages and line numbers. Know exactly where the syntax error is.

🎨

Syntax Highlighting

Beautiful color-coded syntax highlighting for strings, numbers, booleans, and null values in both light and dark themes.

🌳

Interactive Tree View

Explore complex JSON structures with an expandable/collapsible tree view. Primitive values shown inline for quick scanning.

🔍

Search & Highlight

Search across your JSON and highlight matches instantly. See match count and navigate through results effortlessly.

📋

One-Click Copy

Copy formatted or minified JSON to clipboard with a single click. Perfect for API testing and documentation.

🌓

Dark Mode

Toggle between light and dark themes. Easy on the eyes during long coding sessions.

💾

Auto-Save

Your JSON data and preferences are automatically saved. Never lose your work when closing the extension.

🔓

Unescape JSON

Automatically detects and unescapes JSON strings. Handle escaped JSON responses from APIs with ease.

📊

Minify/Format Toggle

Switch between formatted and minified views instantly. Perfect for comparing compact vs readable formats.

📸 Screenshots

Input Tab with JSON validation

Input Tab

Paste or type your JSON with real-time validation. Line numbers appear when there's an error to help you debug quickly.

Formatted view with syntax highlighting

Formatted View - Light Theme

Beautiful syntax highlighting with search functionality. Find and highlight any text in your JSON instantly.

Dark mode formatted view

Formatted View - Dark Theme

Easy on the eyes with dark mode support. All features work seamlessly in both light and dark themes.

Interactive tree view

Tree View

Explore complex nested structures with an interactive tree. Expand/collapse nodes and see primitive values inline.

🚀 Installation

1

From Chrome Web Store (Recommended)

Click the "Add to Chrome" button above or visit the Chrome Web Store and search for "Json Ninja". Click "Add to Chrome" and you're ready to go!

2

Manual Installation (Development)

Clone the repository, run npm install and npm run build, then load the dist folder as an unpacked extension in Chrome.

3

Start Using

Click the Json Ninja icon in your Chrome toolbar to open the extension. Paste your JSON and explore the three powerful tabs: Input, Formatted, and Tree View.

⚡ Tech Stack

Vue 3

Composition API

TypeScript

Type Safety

Vite

Fast Build Tool

Tailwind CSS

Utility-First CSS

Manifest V3

Latest Chrome API