Skip to content
Bai
EspañolEnglishEuskara Get started →

Tools

Encoder and decoder

Text encoder and decoder

Encode and decode Base64, URLs and HTML entities, and generate MD5 and SHA hashes.

Private by design
Text is encoded as UTF-8, so accents, ñ and emoji survive the round trip. When decoding, line breaks, the URL-safe variant (- and _) and missing = padding are accepted.

About this tool

If you work with websites, APIs or integrations, you’re forever needing to turn some text into Base64, prepare a URL parameter, escape a bit of HTML or hash a string to compare it. This page puts all four side by side so you don’t have to hop between sites: handy for debugging requests, checking headers, building UTM links or verifying checksums.

Pick the Base64, URL, HTML or Hash tab. In the first three, choose “Encode” or “Decode”, type or paste your text and the result appears underneath immediately; “Switch to decode” or “Switch to encode” moves the output into the input so you can check the round trip. The HTML tab can also convert non-ASCII characters. The Hash tab gives you MD5, SHA-1, SHA-256 and SHA-512 at once.

Everything is computed in your browser with JavaScript; none of the tabs sends your text to a server. Text is always treated as UTF-8, so accents and emoji work everywhere. The tool works on text rather than files, and none of these operations encrypts anything: Base64, URL and HTML encoding are reversible, and hashes can’t be undone.

Frequently asked questions

What is the difference between encoding, encryption and hashing?

Encoding changes the format so text travels safely, and anyone can reverse it. Encryption makes it unreadable without a key. A hash is a fixed-length fingerprint that can’t be reversed and is used to check whether two inputs are identical.

Which encoding should I use when?

Base64 for putting text or data into JSON, headers or environment variables; URL encoding for parameter values in a link; HTML entities for showing text containing < > & on a web page.

Is what I type stored anywhere?

No. The text only lives in the page while it’s open; it isn’t sent or saved anywhere and disappears when you reload.

Does it work offline?

Once the page has loaded, conversions don’t need a connection because they run in your browser. The first time you compute a hash, the hashing library is downloaded from this same site.

Related tools