Base64 Decoder
Paste a Base64 string and read the original text instantly, even when the padding is missing.
Processed locally in your browser· Your data stays in your browser.
What is Base64 Decoder?
Base64 turns bytes into printable characters. Decoding reverses that: every 4 Base64 characters become 3 bytes, which are then read as text.
This decoder is forgiving: it ignores spaces and line breaks, accepts both the standard (+ /) and URL-safe (- _) alphabets, understands data: URL prefixes and tolerates missing "=" padding.
How does it work?
- Paste the Base64 string in the input box; decoding happens as you type.
- Pick the text encoding (UTF-8 by default) if the source used something else, such as ISO-8859-1.
- Copy or download the decoded text. If the bytes are binary (an image, a ZIP) you will see a warning: use the Base64 File Decoder instead.
Common use cases
- Reading the contents of a Base64 value found in a config file, log line or API response.
- Inspecting the "user:password" part of an HTTP Basic Authorization header while debugging.
- Decoding email or MIME snippets copied from raw message source.
- Checking a value before you paste it into a JWT or JSON tool.
Examples
Try this input in the tool above:
SGVsbG8gd29ybGQ=
Hello world
Privacy
Base64 Decoder runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
A successful decode does not tell you whether the content is trustworthy. Binary payloads cannot be shown correctly as text.
Frequently asked questions
Why do I get an "Invalid Base64" error?
The input contains characters outside the Base64 alphabet, or its length is impossible (a remainder of 1 character). Check for stray quotes, truncated copy-paste or a different encoding such as hex.
Can it decode Base64URL used in JWTs?
Yes. The "-" and "_" characters are accepted automatically. To inspect a whole token, use the JWT Decoder.
The output looks like garbage. What now?
The data is probably binary (an image, archive or encrypted blob) or uses another text encoding. Try another encoding in Options or decode to a file.
Related tools
Base64 Encoder
Convert any text, including emoji and accented characters, into a Base64 string in one click.
Encoding & Decoding
Base64URL Decoder
Paste a URL-safe Base64 string, such as a JWT segment, and read the text inside immediately.
Encoding & Decoding
Base64 to File Converter
Paste Base64 or a data URL, click decode, and download the original image, PDF, archive or any other file.
File Tools
URL Decoder
Turn %20, %3A and %C3%A9 back into readable text, and find out exactly where a malformed sequence sits.
Encoding & Decoding
Hex to Text Converter
Paste hex bytes from a dump, a log or a source file and read the text they spell.
Encoding & Decoding
Binary to Text Converter
Paste a string of ones and zeros and read the message hidden in it.
Encoding & Decoding