Text Encoder/Decoder

Encode and decode text using Base64, URL encoding, HTML entities, and Unicode escape sequences.

0
Input chars
0
Output chars
-
Size ratio
Share:

Universal text encoding tool

A comprehensive text encoder and decoder supporting multiple formats: Base64, URL encoding, HTML entities, and Unicode escape sequences. Essential for web development and data processing.

Encoding formats explained

Base64 converts binary data to ASCII text using 64 characters. Common for embedding images in HTML/CSS or transmitting binary data over text-only protocols.

URL encoding (percent-encoding) converts special characters to %XX format, making text safe for use in URLs and query strings.

HTML entities convert special characters like < > & to their entity equivalents, preventing XSS attacks and ensuring proper HTML rendering.

Unicode escape sequences represent characters as \uXXXX, useful for JSON strings and cross-platform text handling.

Common use cases

Encoding data for API requests and form submissions.

Preparing text for safe storage in databases or configuration files.

Debugging encoded data received from external sources.

Converting between formats when integrating different systems.

Features

  • Four encoding formats in one tool
  • Encode and decode modes
  • Unicode-safe Base64 encoding
  • Input/output size comparison
  • One-click swap between input and output
  • Copy results to clipboard