Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 strings instantly in your browser.
Base64 converter
Encode or decode Base64
Convert plain text into Base64 or decode Base64 back into readable UTF-8 text. Conversion happens locally in your browser.
Base64 output
16 chars
aGVsbG8gd29ybGQ=
Mode
Encode
Current conversion direction
Variant
Standard
Selected Base64 format
Input length
11
Characters entered
Output length
16
Characters generated
Padding
Included
Uses trailing = when enabled
Status
Encoded
Ready to copy
Base64 quick reference
The key rules developers usually need when working with Base64 strings.
Standard alphabet
A–Z, a–z, 0–9, +, /
Padding
=
URL-safe
+ → - and / → _
Common uses
APIs, data URLs, tokens, config
Developer guide
Understand Base64 before using it in production
Base64 is common in APIs, tokens, data URLs, email workflows, and configuration systems, but it is not encryption.
What is Base64?
Base64 is a binary-to-text encoding system that represents data using printable characters. It is commonly used when binary or structured data needs to be safely transferred through systems that expect text.
When should developers use Base64?
Developers use Base64 for API payloads, data URLs, email attachments, Basic Auth headers, encoded configuration values, debugging encoded responses, and transporting small binary values as text.
Base64 vs Base32
Base64 is more compact but uses symbols like + and / in the standard format. Base32 is more readable and often easier for manual entry. Neither Base64 nor Base32 is encryption.
Standard Base64 vs URL-safe Base64
Standard Base64 uses + and /. URL-safe Base64 uses - and _. URL-safe Base64 is common in JWTs, URL parameters, and filenames. Padding may be included or omitted depending on the system.
Practical Base64 examples
Simple text
Text
hello worldBase64
aGVsbG8gd29ybGQ=Brand text
Text
BlinkCalcBase64
QmxpbmtDYWxjUnicode text
Text
Encode this ✅Base64
RW5jb2RlIHRoaXMg4pyFBase64 Encoder and Decoder FAQs
A Base64 encoder converts plain text or binary data into a Base64 string using printable characters.
Related tools