HTML & JSON Toolkit CATechGlobal.com

Input HTML

Paste HTML to minify

Result (Minified)

Ready
Keeps content inside <script>, <style>, <pre>, <textarea>. Removes comments and whitespace between tags.

Input (Text to encode)

Convert text into a JSON string

Result (JSON string)

Ready
Uses JSON.stringify to escape special characters.

Input JSON

Paste minified or unformatted JSON

Result (Pretty JSON)

Ready
If JSON is invalid, you will see a detailed error. Indentation: 2 spaces.

JSON Editor (One-field, colored)

Ready

            
          
Type directly in the colored area. The system will automatically Beautify + Highlight when Valid JSON (Live), with Minify and Copy.

Input Text

Result (Counts)

Ready
  • Characters: 0
  • Characters (no spaces): 0
  • Words: 0
  • Lines: 0
  • Bytes (UTF‑8): 0
Characters are counted as user‑perceived characters (grapheme clusters). If unavailable, we fall back to Unicode code points. Bytes are calculated using UTF‑8.

Input Text

Result (Transformations)

Ready
Locale-aware for Vietnamese (upper/lower/title). Slug/camel remove accents.

Free HTML Minifier, JSON Tools & JSON Editor

This lightweight toolkit helps developers compress HTML, encode any text to a JSON string, pretty print JSON, and edit JSON with color syntax highlighting. Everything runs locally in your browser, so your data never leaves your device.

Quick tips

Copied to clipboard