Encode and decode Base64, URL, HTML entities, Binary, Hex, Gzip and Punycode
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.
Encode plain text to Base64 and decode Base64 strings back to text, entirely in your browser
Percent-encode URLs and query string values, and decode URL-encoded strings back to plain text
Encode special HTML characters into safe entities and decode HTML entities back to readable text
Bidirectional text-to-binary and binary-to-text converter — encode text to 8-bit binary groups and decode binary back to readable text
Upload an image and convert it to a Base64-encoded data URL for embedding in CSS, HTML, or JSON
Decode a Base64 string or data URL into a viewable image with download support
Compress and decompress text or data with Gzip entirely in the browser
Convert international domain names to Punycode (xn--) and back — supports Unicode and IDN domains
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.
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 < and > 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.