JavaScript Tools

0 Chars
0 Chars
About JavaScript Tools

JavaScript Toolkit provides a variety of common operations: beautify, minify, encrypt/decrypt, syntax validation, string escaping, and more.

  • 🎨 Beautify: Formats code with configurable indentation size (2/4/8 spaces).
  • πŸ“¦ Minify: Compresses code using Terser, displaying compression ratio and space savings.
  • πŸ” Encrypt/Decrypt: Supports Base64, ROT13, Hex, and Unicode escaping for simple code obfuscation.
  • βœ… Validate: Checks JavaScript syntax and highlights error locations (displayed via alert).
  • πŸ“ Escape/Unescape: Escapes special characters (e.g., newlines, quotes) within strings.
  • πŸ“Š Real-time character count is displayed below the input/output boxes, with statistics shown during minification.
  • πŸ’‘ Click the "Example" button to populate a sample code snippet for easy testing.