JSON Studio Pro + Source Code - The Ultimate Offline JSON & GraphQL Workbench
Complete User Guide: Pretty JSON & GraphQL Formatter Studio
1. Why Do You Need This Extension?
The Problem: The "Wall of Text" Nightmare
Whenever modern websites, mobile apps, or online services talk to each other, they speak in a format called JSON (JavaScript Object Notation).
Normally, if you open an API web link in Google Chrome, Chrome displays a giant, messy, unreadable wall of text with thousands of brackets { [ ] }, commas, and numbers jammed together on one screen. Trying to find a customer's name, an order price, or a product image inside that text is like trying to find a needle in a haystack.
text
{"status":"success","data":{"orders":[{"id":10892,"customer":{"name":"Alice Brown","email":"alice@example.com"},"items":[{"sku":"LAP-01","price":1299.99,"specs":{"color":"#2563eb","preview_url":"https://images.unsplash.com/photo-1517336714731-489689fd1ca8?w=200"}}]}]}}
The Solution: Instant Magic Makeover
The moment you install this extension, that messy wall of text is instantly transformed into a clean, beautiful, interactive dashboard:
- Folders You Can Open & Close: Brackets become expandable, color-coded folders.
- Spreadsheet Table View: Turn boring data into an Excel-style table with one click.
- Smart Translators: Cryptic timestamps become normal dates (e.g., "Saturday, March 7, 2026"), color codes show actual colored boxes, and image URLs show popup image thumbnails.
- Instant Repair: If you have broken or invalid JSON, it automatically fixes missing quotes, trailing commas, and Python formatting with a single click.
- 100% Private & Offline: Works entirely on your computer with zero servers, zero external APIs, and zero data tracking.
2. Quick 20-Second Installation
- Open Google Chrome and type chrome://extensions/ into your address bar, then press Enter.
- In the top-right corner of the page, toggle on Developer mode.
- In the top-left corner, click the "Load unpacked" button.
- Browse to and select this folder:
- D:\DEVELOPMENT\Chrome Extension\1. Developer & Code Tools\01. PRETTY_JSON_GRAPHQL_FORMATTER
- Done! The extension icon will appear in your Chrome toolbar. Click the Pin icon so it's always visible.
3. The 3 Ways to Use the Extension
Method
When to Use It
How It Works
1. Automatic In-Page
When opening any web API URL in Chrome (e.g., GitHub API, weather API, Shopify/Stripe API).
Automatically detects JSON or GraphQL, formats the whole page instantly, and gives you a floating "Raw View / Pretty View" toggle button.
2. Toolbar Popup Scratchpad
When you have messy text copied from an email, Slack, or log file.
Click the extension icon in your Chrome toolbar. Paste your text to format it, repair errors, compare two files, or convert it to code.
3. Right-Click Context Menu
When browsing any website and you see raw JSON text on the page.
Highlight the text with your mouse, right-click, and select "Pretty JSON: Inspect Selection in Studio".
4. Master Tour: Top Header Bar & View Tabs
When viewing data in the Studio, the top navigation bar gives you 5 specialized view modes:
[ π³ Tree View ]Β [ π Raw View ]Β [ π» Code View ]Β [ π Table Grid ]Β [ β‘ GraphQL Studio ]
1. π³ Tree View (Default Interactive Mode)
- Turns the data into an organized tree with collapsible folders and lines.
- Click any arrow βΆ or βΌ to collapse or expand any section.
- Color-codes keys (blue), strings (green), numbers (orange), and booleans (purple).
2. π Raw View (Original Unaltered Text)
- Shows the original, untouched text exactly as the server delivered it.
- Essential for verifying raw payload formatting or headers without any styling.
3. π» Code View (Editor Mode with Line Numbers)
- Formats the data with clean 2-space indentation and line numbers on the left.
- Perfect for copying clean code snippets into your text editor or documentation.
4. π Table Grid View (Excel-Style Spreadsheet)
- If your JSON contains a list of items (like a list of users, products, or transactions), this button converts the data into a sortable table with columns and rows.
- You can scan, filter, and inspect tabular data just like a spreadsheet without writing any code.
5. β‘ GraphQL Studio View
- Specifically designed for modern GraphQL API responses.
- Splits the view into clean sections: Query & Variables, Data Result, and Errors (highlighted in red with exact line numbers).
5. Search, Controls & Navigation Tools
Along the top and sub-header bars, you have a full suite of power tools:
π Search Bar (Ctrl + F)
- Live Search: Type any word, number, or key name. It highlights every match across the entire document instantly.
- Match Counter: Shows your current position and total matches (e.g., 3 of 42 matches).
- β² / βΌ Navigation Buttons: Jump to the previous or next match (or press Enter / Shift+Enter).
- Aa (Match Case): Toggle between case-sensitive and case-insensitive searches.
- .* (Regex Mode): Turn on Regular Expression search for advanced pattern matching.
π Folding Pills (L1, L2, L3, All)
- L1 (Level 1): Folds everything except the top-level categories.
- L2 (Level 2): Expands top-level items and one level deeper.
- L3 (Level 3): Expands three levels deep.
- All: Expands or collapses every single folder in the document simultaneously.
- Keyboard Shortcut: Press Alt + 1, Alt + 2, Alt + 3, or Alt + 0 on your keyboard.
π€ Alphabetical Key Sorting (Sort: A-Z / Z-A / Default)
- Click to sort all dictionary keys alphabetically from A to Z.
- Click again to reverse sort (Z to A).
- Click a third time to restore the original server order (Default).
- Makes finding specific keys in massive objects effortless.
π Font Size Zoom (A- and A+)
- Click A- to make text smaller (down to 11px) to fit more data on screen.
- Click A+ to enlarge text (up to 18px) for comfortable reading.
- Your preferred font size is saved automatically and remembered across all browser tabs.
π Copy All
- One-click copy that places the formatted, clean JSON into your clipboard with a confirmation notification.
6. Smart In-Tree Highlights (The "Magic" Features)
The tree viewer automatically recognizes special data formats and adds visual enhancements directly into the tree:
1. πΌοΈ Live Image Hover Popover
- If a value is an image link (ending in .png, .jpg, .webp, .svg, etc.), hovering your mouse over the link opens an instant floating image thumbnail preview. You don't have to open a new tab just to see the picture.
2. π¨ Color Swatch Chips
- If a value is a color code (like #2563eb or rgb(34, 197, 94)), a live colored square appears next to it, showing you the exact visual color.
3. β±οΈ Timestamp Humanizer
- Computers store dates as cryptic numbers called Unix Timestamps (e.g., 1772868296 or 1772868296000).
- The extension automatically recognizes these numbers and displays a friendly calendar pill next to them:
- β± Sat, Mar 7, 2026, 12:54 PM
4. π Numeric Array Quick-Stats
- Whenever the extension encounters a list of numbers (such as prices, scores, or measurements like [12, 45, 99, 150]), it calculates and displays an inline statistics chip:
- Ξ£ sum: 306 | avg: 76.5 | min: 12 | max: 150
5. π Inline JWT Bearer Token Decoder
- Web logins and authentication tokens look like meaningless scrambles of letters and dots (eyJhbGciOiJIUzI1NiIsIn...).
- The extension detects these JWT tokens and places a π Decode JWT badge next to them.
- Clicking the badge opens a clean inspection window showing the token's Algorithm, User ID, Issued At, and Expiration Date.
6. π§ Breadcrumb Bar & 1-Click Path Copying
- Click on any line in the tree, and the bottom breadcrumb bar shows the exact path to that data (e.g., orders[0].customer.email).
- Click the "Copy Path" button to copy that exact path string to your clipboard.
7. Code Generator & Data Exporter
[ β‘ CodeGen ]Β βΌΒ |Β [ π₯ Export CSV ]Β |Β [ π₯ Export YAML ]
β‘ 1-Click Code Generation (For Programmers)
Click the CodeGen dropdown to instantly convert the JSON payload into type definitions and data structures in your language of choice:
- TypeScript (interface definitions)
- Go (struct definitions with JSON tags)
- Python (@dataclass definitions)
- Rust (struct definitions with serde derive)
- Zod (runtime validation schema)
π₯ 1-Click Data Exporters
- Export to CSV: Converts arrays of objects into an Excel-ready .csv file and downloads it with one click.
- Export to YAML: Converts the JSON structure into human-readable YAML configuration format and downloads it immediately.
8. 8 Premium Built-in Themes
Click the Theme selector in the top-right corner to switch styles according to your environment:
Theme Name
Style / Atmosphere
GitHub Dark
Deep slate modern contrast (Default)
Dracula
Vibrant purple and pastel neon accents
Monokai
Classic code editor palette with warm yellows and greens
Cyberpunk
High-energy electric blues and magenta
Nord
Cool, calm arctic frost blues and grays
One Dark
Balanced atom-inspired dark interface
VS Code Light
Crisp, bright, office-friendly daytime view
Solarized Light
Warm cream and amber palette easy on the eyes
9. The Toolbar Popup Scratchpad (Your Swiss Army Knife)
Clicking the extension icon in your Chrome browser toolbar opens a compact 4-tab workbench:
[ π οΈ Format & Lint ]Β [ β‘ Auto-Repair ]Β [ π Diff ]Β [ π» Quick Types ]
Tab 1: π οΈ Format & Lint
- Paste any messy text block. Click "Format" to clean it up with proper indentation.
- If there is a syntax error, it points you to the exact line and column where the error occurred.
Tab 2: β‘ Smart Auto-Repair
- If someone sends you "broken" JSON that fails to parse, paste it here and click "Repair & Beautify".
- Automatically fixes:
- Unquoted keys ({ name: "John" }Β Β { "name": "John" })
- Single quotes instead of double quotes ({'item': 1}Β Β {"item": 1})
- Trailing commas ([1, 2, 3,]Β Β [1, 2, 3])
- Python values (True, False, NoneΒ Β true, false, null)
- Broken line breaks and unescaped quotes
Tab 3: π JSON Diff (Side-by-Side Comparison)
- Paste your Original JSON on the left and Modified JSON on the right.
- Click "Compare Payloads" to see an immediate side-by-side comparison highlighting:
- π’ Added lines (in green)
- π΄ Removed lines (in red)
- π‘ Changed values (in yellow)
Tab 4: π» Quick Types
- Paste any JSON payload and instantly preview or copy TypeScript, Go, Python, or Rust models right from the popup without leaving your active tab.
10. Summary Cheat Sheet: Keyboard Shortcuts
Shortcut
Action
Ctrl + F (or Cmd + F)
Open search bar and start typing
Enter
Jump to next search match
Shift + Enter
Jump to previous search match
Alt + 1
Fold to Level 1
Alt + 2
Fold to Level 2
Alt + 3
Fold to Level 3
Alt + 0
Expand / Collapse All folders
Esc
Close search bar or dismiss popups/modals
All features run 100% locally on your machine with zero server calls, zero tracking, and absolute privacy.
Β