Base64 encoder & decoder Online

Encode text to Base64 or decode Base64 to text and bytes in your browser. Supports Unicode, Base64URL, line wrapping and file tools. No signup required.

Runs in your browserBrowse every tool
0 characters
Ready when you are

Add your input, adjust the options and run the tool.

—
Options
Runs in your browser
No input saved

What is Base64?

Base64 represents binary bytes as printable text. It is used in email attachments, JSON payloads and Data URIs. Three input bytes normally become four characters; padding uses =. Encoding is reversible and does not encrypt a password or secret.

Hello → SGVsbG8=

Standard Base64 or Base64URL?

Standard Base64 uses + and /. Base64URL replaces them with - and _, which is useful in URLs and tokens. Padding requirements depend on the receiving system. Select the alphabet and character encoding your destination expects. Base64URL Encoder & Decoder

Encoding standards: RFC 4648 §4 — Base64 · RFC 4648 §5 — Base64URL

Choose text, image or file conversion

Use the workbench above for text. Choose a dedicated image or file tool to preserve binary bytes, preview supported images or download the recovered file. Decoding an image as UTF-8 text does not produce an image file.

How to use this tool

01

Add your input

Paste text or choose a file. Try the example to get started.

02

Choose your options

Convert text and bytes with Unicode support, explicit diagnostics and complete control over your output.

03

Inspect and export

Review the processing notes, then copy or download the result. Continue with another tool if needed.