Converters/Developer Tools
Base64 Encoder / Decoder
Encode plain text to Base64 or decode Base64 strings back to readable text — all in your browser, instantly.
Base64 Encoder
Base64 Decoder
How to Use This Converter
Use the Encoder to convert any plain text string to its Base64 representation. Use the Decoder to reverse a Base64 string back to readable text. Everything runs in your browser — no data is sent anywhere.
- Supports UTF-8 text including Unicode characters, emojis, and special symbols.
- Output updates instantly as you type — no need to click a button.
- Click "Copy" to copy the result to your clipboard.
Examples
Encode "Hello, World!"
SGVsbG8sIFdvcmxkIQ==
Encode a URL for embedding
"https://example.com" → aHR0cHM6Ly9leGFtcGxlLmNvbQ==
What does "dGVzdA==" decode to?
"test"
Common use: API authorization header
Basic Auth uses Base64: "username:password" → dXNlcm5hbWU6cGFzc3dvcmQ=
Frequently Asked Questions
What is Base64 encoding?
Base64 converts binary or text data into a string of 64 ASCII characters (A–Z, a–z, 0–9, +, /). It is used to safely transmit data in contexts that only support text, like email attachments, data URIs, and HTTP headers.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it instantly. Never use Base64 to secure sensitive data — use proper encryption like AES for that.
Why does Base64 end with "=="?
Base64 pads the output with = characters to make the length a multiple of 4. One = means 1 byte of padding, two == means 2 bytes.
Can I encode images with this?
This tool is for text encoding. To encode an image to Base64, you would need to read the image file as binary data first — use our Image Converter for image format changes.