🔢

ASCII Code Converter

Bidirectional converter between text and ASCII (Dec/Hex/Oct/Bin) with escape sequences and customizable separators.

Non-ASCII characters are output as UTF-8 bytes

Input

0 Characters

Output

0 Bytes

About This Tool

The ASCII Code Converter supports converting text into various ASCII formats, including decimal, hexadecimal, octal, and binary representations. It automatically detects the input type and provides real-time conversion. Supports parsing escape sequences (such as \n, \x41, \u0041, etc.) for handling special characters. Customizable separators (space, comma, newline, tab, or none) with optional prefixes (0x/0o/0b) and uppercase/lowercase formatting. Features a built-in ASCII character table (0-127) for quick reference. Supports one-click copy, copy as array format, and downloading conversion results. Encode/decode modes can be swapped with one click. All processing is done locally in your browser, ensuring your data is never uploaded.

Features

  • 🔤 Multi-format: Convert between text, decimal, hex, octal, and binary
  • ⚡ Real-time: Instant conversion as you type
  • 📋 Byte Table: Built-in ASCII character map and byte details
  • ✨ Auto-detect: Intelligently identifies input format
  • 🔀 Escape Sequences: Supports \n, \x41, \u0041 and more
  • 🔧 Custom Separators: Space, comma, newline, tab, or none
  • 🏷️ Prefix & Case: Optional 0x/0o/0b prefixes and upper/lower case
  • 📥 Copy & Download: One-click copy, copy as array, and download
  • 🔄 Mode Swap: Switch encode/decode mode with one click
  • 🔒 Local: 100% private local processing
  • 🎨 Clean UI: Simple and intuitive interface