← All categories

Encoding & Decoding Tools

Free online encoding and decoding tools — Base64, Base32, Base58, Base64URL, hex, Base64 ↔ hex, URL, HTML entities, Unicode escapes, gzip and file-to-base64. Convert between representations 100% in the browser.

16 free encoding & decoding tools — all browser-based

Base64 Encode Decode

Encodes and decodes text or binary data using Base64 encoding. It converts data into a printable ASCII format for safe transmission and storage..

Open tool →

Base32 Encode Decode

Encodes text into RFC 4648 Base32 format or decodes Base32 strings back into plain text, commonly used for TOTP secrets and case-insensitive identifiers..

Open tool →

Base58 Encode Decode

Encodes any text as Bitcoin-style Base58 (the alphabet that omits 0, O, I, and l to avoid confusion) using BigInt and decodes Base58 back to UTF-8 text, with a one-click swap and copy.

Open tool →

Base64URL Encode Decode

Encodes and decodes URL-safe Base64 (RFC 4648 §5), which substitutes - and _ for + and / so the output is safe to put in URLs, filenames, and JWT tokens without further escaping.

Open tool →

Hex Encode Decode

Converts text to and from hexadecimal (base-16) string representation.

Open tool →

URL Encode Decode

Encodes and decodes URLs to ensure proper data transmission. It converts special characters into percent-encoded format and vice versa..

Open tool →

String Escape Unescape

Escapes multi-line text into a safe JS/JSON string literal (newlines, tabs, quotes, backslashes) or unescapes an escaped string back into plain text..

Open tool →

HTML Entity Encode Decode

Encodes special characters into HTML entities (e.g. & → &) or decodes HTML entities back into plain text, useful for safely embedding text in HTML markup..

Open tool →

Escape / Unescape (HTML, URL, CSS)

Escapes and unescapes strings for HTML entities, URL percent-encoding, and CSS identifiers / strings in one tool, with a mode switch and live preview, useful for preventing XSS in templated output, preparing query-string parameters, and safely embedding user input in CSS custom properties and content rules..

Open tool →

Unicode Escape Converter

Converts between literal Unicode text and escape sequences (\uXXXX for BMP and \U0001F000 code points, plus \xNN bytes and surrogate pairs), with a bidirectional transform and code-point breakdown, useful for embedding emoji and non-ASCII in JSON, JavaScript source, Java properties, and Python source, and for debugging mojibake and surrogate-pair issues..

Open tool →

Unicode Character Inspector

Breaks down text character by character, showing each Unicode code point, decimal value, HTML entity, and UTF-8 byte sequence.

Open tool →

Punycode Converter

Encodes and decodes internationalized domain name labels with Punycode (RFC 3492), converting Unicode domain labels to their ACE (xn--) form and back.

Open tool →

SVG to Data URI Converter

Converts an SVG string into a URL-encoded data URI (data:image/svg+xml,...) suitable for use in CSS background-image, img src, and favicon attributes, with optional base64 encoding and the URL-safe transformations recommended for cross-browser compatibility.

Open tool →

File to Base64

Converts any uploaded file into a Base64 string or data URI, and converts a pasted Base64 string or data URI back into a downloadable file..

Open tool →

Gzip Compressor & Decompressor

Compresses and decompresses text or binary data using the browser-native CompressionStream gzip API, with configurable level output and base64 transport encoding, returning the compressed payload size and ratio, useful for previewing API response compression, debugging content-encoding: gzip payloads, and benchmarking client-side compression without a server round-trip..

Open tool →

Base64 to Hex Converter

Converts between Base64 and hexadecimal in both directions on the raw bytes, accepting standard and URL-safe Base64 with or without padding and hex with spaces, colons or a 0x prefix, and showing the decoded byte length, useful for comparing certificate fingerprints, key material and hashes emitted in different encodings by OpenSSL, JWT libraries and database drivers..

Open tool →

Base64 variants explained

Standard Base64 uses + and / with = padding. Base64URL replaces them with - and _ for URL-safe encoding.

Base58 drops ambiguous characters (0, O, I, l) and is used in Bitcoin addresses and short IDs.

URL and HTML escaping

Use URL Encode/Decode for query-string parameters, and HTML Entity encode for safely embedding text in HTML.

The Escape/Unescape tool covers HTML, URL and CSS in one place with a live preview.

Frequently asked questions

Does gzip compression run in the browser?

Yes. The Gzip Compressor uses the browser's native CompressionStream API, so compression happens locally with no server round-trip.

What is the difference between Unicode escape formats?

JavaScript uses \uXXXX BMP escapes with surrogate pairs for astral code points; Python uses \U0001F000; the Unicode Escape Converter handles all three.

Other tool categories