Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text (UTF-8 safe).
Continue your work
- Base64 to Image — Decode an image payload instead of plain text.
Rate this tool
0.0
0 ratings
- 5 stars 0
- 4 stars 0
- 3 stars 0
- 2 stars 0
- 1 star 0
Share this tool
Found it useful? Send it to a friend or teammate.
Report an issue
Something broken or not quite right? Tell us and we will look into it.
Clear instructions
Find steps, examples and limitations below.
Use online
Open the tool in a supported web browser.
Free to use
No sign-up required. Tool-specific limits may apply.
How to use the Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text (UTF-8 safe).
- 1 Choose Encode for plain text or Decode for a Base64 string, then paste your input.
- 2 Use URL-safe alphabet when the receiving system expects that variant. Review the output or any decoding error.
- 3 Copy the result. Use Swap to move the output back into the input for the opposite conversion.
Example and practical tips
The text Hello encodes to SGVsbG8=. Decoding that string returns Hello. Base64 changes the representation of data; it does not make its contents secret.
Frequently asked questions
Is Base64 encryption?
No. Anyone with the encoded string can decode it. Do not use Base64 to protect passwords or confidential information.
When should I use the URL-safe alphabet?
Use it when an API or token format requests URL-safe Base64. This variant substitutes characters that otherwise need special handling in URLs. Match the requirements of the receiving system.
Can this decode an image file?
This interface is designed for text. For an encoded image or image data URI, use the separate Base64 to Image tool to preview and download the image.