Free Online Encoding & Decoding Tools
Encode and decode without leaking your data
Encoding is the plumbing of the web. Base64 carries binary through JSON APIs and HTTP headers, percent-encoding makes URLs safe, HTML entity encoding lets code be displayed as text instead of executed as markup, and data URLs embed files inline. Getting these transformations right — including the URL-safe variants, the escaping edge cases, and the difference between encoding and encryption — is the difference between working code and a subtle bug. The tools in this category handle those transformations correctly and entirely inside your browser.
All Encoding & Decoding Tools
Base64
Encode and decode Base64 strings online. Supports UTF-8 text and URL-safe Base64. All processing runs locally in your browser.
HTML Encode/Decode
Encode and decode HTML entities (&, <, >, ", numeric references). Useful for sanitizing user content or debugging escaped markup.
Image → Base64
Convert images to Base64 data URLs online. Drop or select any image and copy the ready-to-paste data URI for CSS, HTML, or JSON.
When to use these tools
Use these tools when embedding binary in text-based formats, sanitizing user content for display, decoding a Basic Auth or JWT segment, or debugging why a URL parameter looks garbled after a round-trip.
Frequently Asked Questions
Is encoding the same as encryption?
No. Encoding (Base64, URL, HTML entity) transforms data into a different representation but is fully reversible without a secret. Never use encoding to hide sensitive information.
When should I use URL-safe Base64?
Use URL-safe Base64 whenever the output will appear inside a URL, filename, or a JWT segment. It replaces `+` and `/` with `-` and `_` so no further percent-encoding is required.