Base64 Decode
Decode Base64 strings to text or files in your browser. Auto-detects image data and shows a preview. URL-safe variant supported. Completely private.
Base64 Input
How to decode a Base64 string
- Paste your Base64 string into the input box.
- If the string uses
-and_instead of+and/, toggle URL-safe. - The decoded output appears instantly. If the data is a recognisable image (JPEG, PNG, GIF, WebP, SVG), a visual preview is shown automatically.
- Download the decoded image or text file with one click.
Decoding data URIs
If you have a complete data URI like data:image/png;base64,iVBORw0K…, strip the prefix (data:image/png;base64,) before pasting — only the Base64 part goes in the input.
Common uses of Base64 decoding
- Inspecting email attachments encoded as MIME parts.
- Debugging API responses that return binary data as Base64.
- Extracting images embedded in HTML or CSS as data URIs.
- Decoding the payload of a JWT (the middle section).
Frequently Asked Questions
How do I decode a Base64 string?
Paste your Base64 string into the input box. The decoded output appears instantly.
Can I decode a Base64 image?
Yes. If the decoded content is an image, a visual preview is shown automatically. You can also download the decoded image file.
What is URL-safe Base64?
URL-safe Base64 uses - instead of + and _ instead of /. Toggle this option if your input uses these characters.
Related Tools
Base64 EncodeEncode text or files to Base64 in your browser. URL-safe variant, data URI generator, image preview for encoded images. Nothing is uploaded or stored.JWT DecoderDecode JWT headers and payloads instantly. Human-readable claim table, expiry countdown, and optional signature verification via WebCrypto. Token never uploaded.Hash GeneratorGenerate MD5, SHA-1, SHA-256, SHA-384, SHA-512, and HMAC hashes for text or files (including files over 1GB). Streaming, private, and 100% browser-based.