Encode plain text into Base64, free and instant.
Base64 encoding turns arbitrary text or binary data into a set of 64 printable ASCII characters, which is why it shows up in data URIs, email attachments, and API tokens — formats that need to move binary-safe data through text-only channels.
This tool encodes UTF-8 text into Base64 or decodes Base64 back into readable text, entirely client-side. Encoding is safe for any input; decoding will fail with an error if the pasted string is not valid Base64, which usually means it was truncated or mixed with other text.
Note that Base64 is an encoding, not encryption — anyone can decode it, so it should never be used to protect sensitive data.
No. It is a reversible encoding scheme, not a security measure. Anyone with the encoded string can decode it instantly.
The input is not valid Base64 — often because it was copied with line breaks removed, or it is actually a JWT (which has three dot-separated Base64url segments, not one plain Base64 string).
This version handles text input only. For file-to-Base64 conversion, use a dedicated file-upload tool.