Encode / Decode

Encode and decode Base64, URL, HTML entities, Hex, Base32, and ROT13. Auto-detect input type for decoding.

Tool Top Banner (728×90)

Enter text, choose format and action, then click Encode or Decode.

Result Bottom Banner (728×90)

About This Tool

This free online encode/decode tool supports six common encoding formats. All processing happens locally in your browser — your data is never sent to any server, making it safe for sensitive information like tokens or credentials.

Base64: The most common binary-to-text encoding, used in data URIs, email attachments (MIME), and API authentication. Handles UTF-8 text correctly.

URL Encoding: Encodes special characters for safe inclusion in URLs using percent-encoding (e.g., space becomes %20). Also known as percent-encoding or URI encoding.

HTML Entities: Escapes characters like <, >, and & for safe embedding in HTML documents. Essential for web developers to prevent XSS vulnerabilities.

Hex (Hexadecimal): Converts text to its hexadecimal byte representation. Common in cryptography, binary inspection, and low-level debugging.

Base32: Uses 32 characters (A-Z, 2-7) for encoding. More human-readable than Base64 and often used in TOTP secrets, product keys, and file systems.

ROT13: A simple Caesar cipher that rotates each letter by 13 positions. Encoding and decoding use the same operation (applying ROT13 twice returns the original text). Fun for obfuscation but not for security.

Auto Detect: The tool can attempt to identify the encoding type of your input (Base64, Base32, Hex, URL, or HTML) and automatically decode it — saving you from guessing the format.

Read the full guide
Facebook X LinkedIn Reddit Pinterest Instagram WhatsApp