Skip to content

Base64 Encoder / Decoder

Embed

Paste this where you want Base64 Encoder / Decoder on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/base64-encode-decode/" width="100%" height="500" frameborder="0" loading="lazy" title="Base64 Encoder / Decoder"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/base64-encode-decode/">Base64 Encoder / Decoder</a> by BrowserUtils</p>

Encode and decode Base64 strings instantly.Runs in this tab.

Next step

About Base64 Encoder / Decoder

Free online Base64 encoder and decoder. Convert text to Base64 encoding or decode Base64 strings back to plain text. It runs in your browser. Nothing is sent to a server.

Questions

What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It is commonly used to embed data in URLs, emails, and HTML.
Is it safe to decode Base64 online?
Yes, this tool runs entirely in your browser. Your data is never sent to a server.
Why does Base64 make data larger?
Base64 encodes 3 bytes of data as 4 ASCII characters, resulting in roughly 33% size increase. This tradeoff allows binary data to be safely transmitted in text-only contexts.
Can I Base64 encode an image?
Yes, you can encode binary file data as Base64. For images, use the Image to Base64 tool which handles file upload and produces a ready-to-use data URI.
Does this Base64 tool work offline?
Yes, encoding and decoding happen entirely in your browser using JavaScript. No internet connection is needed after the page loads.
What is the difference between Base64 and Base64URL encoding?
Standard Base64 uses + and / as extra characters, while Base64URL replaces them with - and _ to make the output safe for use in URLs and filenames without additional percent-encoding.

More in Encoding & Decoding

All 20 encoding & decoding