AlpaKit Logo AlpaKit

Base64 & URL Encoder/Decoder with MD5 & SHA-256 Hash

Encode and decode Base64/URL instantly with MD5 & SHA-256 hash generation.

Input Text
Action
Output Result

How to use this tool

  1. 1 Open Base64 & URL Encoder/Decoder with MD5 & SHA-256 Hash, then enter, paste, or choose the content you want to process.
  2. 2 Adjust the available options and output format for your task.
  3. 3 Review the instant result, then copy or download the available output.

Common use cases

Encode and decode Base64/URL instantly with MD5 & SHA-256 hash generation. Use it for everyday work, development, learning, or quick verification.

Privacy and data handling

This tool runs in your browser. Before working with sensitive data, make sure you trust your browser and device environment.

Base64, URL encoding and hex explained — and when to use each

Base64 turns arbitrary bytes into text made only of A–Z, a–z, 0–9, + and /, with = as padding, so binary data can travel safely inside JSON, email, HTTP headers or data URLs. “Hi” becomes “SGk=”. Because every 3 bytes become 4 characters, the encoded output is roughly a third larger than the input. Keep in mind that Base64 is encoding, not encryption: anyone can decode it, so it offers no protection for passwords or secrets.

This encoder converts your text to UTF-8 before encoding, which means accented letters, Chinese, Japanese and emoji round-trip correctly — the classic “InvalidCharacterError” from calling btoa() on non-Latin text is exactly what this step avoids. Besides Base64 the tool supports four other formats: URL encoding (percent-encoding, where a space becomes %20 and “é” becomes %C3%A9), plain hexadecimal, Unicode escape sequences like \u00E9 that you see in JSON and source code, and UTF-8 bytes in hex for debugging encoding problems.

Typical jobs include decoding a Base64 value from an API response or config file, peeking inside a JWT segment (JWTs use URL-safe Base64, so you may need to swap - and _ back to + and / and add = padding), building a query string that contains non-ASCII characters, or figuring out what kind of garbled string you are looking at. If decoding fails, the tool tells you the input is not valid Base64, URL, hex or Unicode.

The converter works on text only; it does not turn images or files into Base64. Everything runs locally in your browser, so the strings you paste are never uploaded.

Frequently asked questions

Is Base64 encryption?

No. It’s a reversible encoding that anyone can decode, so it doesn’t protect sensitive data.

Why does btoa fail with emoji or non-English text?

btoa only accepts Latin-1 characters. This tool converts text to UTF-8 first, so any language and emoji encode and decode correctly.

What’s the difference between URL encoding and Base64?

URL encoding replaces unsafe characters with % and hex so they can sit in a URL; Base64 re-encodes the whole input as alphanumeric text for transport in text formats.

Can I convert an image to Base64 here?

Not currently. The tool encodes and decodes text only.

Browse this category: Dev Tools

Suggested & Recent Tools
    ↑ ↓ Navigate ↵ Open ESC Close
    咩~
    Alpa Idle Alpa Walk 1 Alpa Walk 2 Alpa Walk 3 Alpa Walk 4 Alpa Dizzy Alpa Sleep