100% Client-Side in BrowserZero Server Data UploadsFree & No Sign-Up

File → Data URI

Base64 Decoder

Paste any text to get its Base64 form — or paste Base64 to recover the original (UTF-8 safe, so Chinese, Japanese, Korean and emoji decode cleanly). Toggle URL-safe mode for tokens and filenames, or pick a file to produce a ready-to-embed data:image/...;base64 URI with a safe preview.

Frequently Asked Questions

Why do I see mojibake when decoding elsewhere?

Plain atob() treats output as Latin-1. This tool decodes via TextDecoder('utf-8'), so multi-byte CJK characters and emoji survive intact.

What is URL-safe Base64?

RFC 4648 §5 replaces +/ with -_ and can drop the = padding — required for JWTs, filenames and URL query values.

Is my data sent to a server?

No — encode, decode and file conversion all run locally in your browser; uploaded files never leave memory.

How big can the file input be?

Any size works, but Data URIs roughly add 33% overhead — keep embedded assets small (icons, thumbnails) for fast pages.