Alpha DevTools logoAlpha DevTools
All ToolsBy Technology
Search tools…⌘K
ToolsEncoders & Decoders

Encoders & Decoders

Encode and decode Base64, URL, HTML entities, Binary, Hex, Gzip and Punycode

8tools

All 8 encoder and decoder tools run entirely in your browser. Encode and decode between Base64, URL, HTML entity, binary, hex, compressed and Punycode formats — your data is never sent to a server.

8 tools

Base64 Encoder / Decoder

Encode plain text to Base64 and decode Base64 strings back to text, entirely in your browser

URL Encoder / Decoder

Percent-encode URLs and query string values, and decode URL-encoded strings back to plain text

HTML Entity Encoder / Decoder

Encode special HTML characters into safe entities and decode HTML entities back to readable text

Text ↔ Binary Converter

Bidirectional text-to-binary and binary-to-text converter — encode text to 8-bit binary groups and decode binary back to readable text

Image to Base64

Upload an image and convert it to a Base64-encoded data URL for embedding in CSS, HTML, or JSON

Base64 to Image

Decode a Base64 string or data URL into a viewable image with download support

Gzip Compress / Decompress

Compress and decompress text or data with Gzip entirely in the browser

Punycode / IDN Converter

Convert international domain names to Punycode (xn--) and back — supports Unicode and IDN domains

All categoriesOther categories
Formatters33Converters64Security15UI Tools12Diagrams7Text & String11Numbers & Dates5Image & Media6Web & SEO6Developer Tools12DevOps & Network3Form Generators6Validators1

About Encoders & Decoders

Encoding and decoding tools for every common format a developer encounters. Base64 for binary-safe data transport, URL encoding for query strings, HTML entity encoding for safe HTML output, gzip for compression, and Punycode/IDN for internationalised domain names — all client-side.

Features

  • ✓Base64 encoder and decoder — encode/decode text, binary blobs and files to/from Base64 data URLs
  • ✓URL encoder and decoder — percent-encode special characters for query strings and path segments
  • ✓HTML entity encoder and decoder — convert < > & " ' to named entities and back
  • ✓Binary and hex encoder — convert text and data to binary (01010101) or hexadecimal notation
  • ✓Gzip compress and decompress — compress text in-browser and decompress gzip/zlib blobs
  • ✓Punycode / IDN converter — encode Unicode domain names to ASCII-compatible Punycode (e.g. münchen.de → xn--mnchen-3ya.de) and decode back
  • ✓String escape and unescape — JSON, JavaScript, regex and SQL string literal escaping
  • ✓One-click copy for all outputs

Common Use Cases

  • Encode binary file contents to Base64 for embedding in JSON, CSS data URLs or HTML
  • Decode a Base64-encoded JWT payload or opaque API token to inspect the contents
  • URL-encode query parameters before constructing an API request or redirect URL
  • Convert HTML special characters to named entities for safe rendering in a web page
  • Compress a large JSON configuration blob with gzip before storing it in a database field
  • Convert an internationalised domain name (IDN) to its ASCII Punycode form for DNS use
  • Escape a string literal for safe inclusion in a JavaScript string or SQL query

Frequently Asked Questions

QIs my data sent to a server?

No. All encoding and decoding runs entirely in your browser. Nothing you paste is ever transmitted.

QWhat is Base64 used for?

Base64 encodes binary data as ASCII text, making it safe to include in JSON, XML, email (MIME), data URLs, and HTTP headers — anywhere binary data would cause parsing issues.

QWhat is the difference between URL encoding and HTML entity encoding?

URL encoding (percent-encoding) converts characters to %XX hex format for use in URLs. HTML entity encoding converts characters like < and > to &lt; and &gt; for safe rendering in HTML markup. Use URL encoding for URLs and HTML encoding for HTML content.

QWhat is Punycode and when do I need it?

Punycode is the ASCII-compatible encoding (ACE) used by the DNS system for internationalised domain names (IDNs). If you need to register or resolve a domain containing non-ASCII characters (e.g. Arabic, Chinese, accented Latin), Punycode converts it to a form the DNS protocol understands.

See Also

  • Base64 EncoderEncode and decode Base64, URL, HTML entities and binary
  • Gzip CompressCompress and decompress data using gzip in your browser
  • Punycode / IDNEncode and decode internationalised domain names
  • String EscapeEscape and unescape JSON, JS, regex and SQL string literals
  • Hash GeneratorSHA-256, MD5 and more — one-way cryptographic hashing
  • Format ConvertersConvert between JSON, YAML, XML, CSV, SQL and Markdown
189+ tools·and growing
100% private·nothing uploaded
Zero signup·open instantly
Always free·no paywalls ever
Alpha DevTools logoAlpha DevTools

Fast, free developer utilities for daily tasks. No signup required. Everything runs in your browser.

GitHubTwitter

Categories

  • Formatters
  • Converters
  • Security
  • Encoders & Decoders
  • UI Tools
  • Diagrams
  • Text & String
  • All categories

Technologies

  • JSON
  • YAML
  • CSV
  • XML
  • SQL
  • HTML
  • CSS
  • All technologies

Popular Tools

  • JSON Formatter
  • UUID Generator
  • JWT Decoder
  • Regex Tester
  • SQL Formatter
  • YAML Formatter

Platform

  • Home
  • All Tools
  • By Technology
  • Licenses
  • Contact

© 2026 Alpha DevTools — All rights reserved.

189+ tools · 14 categories · Free forever·Open-source licenses