Skip to content

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text (UTF-8 safe).

5.0 (1 rating)

Processing and privacy

Processing varies by tool. Check the instructions for local processing, server requests, external services and any file or request limits before entering sensitive information.

Read the privacy policy

Share this tool

Found it useful? Send it to a friend or teammate.

Rate this tool

5.0

1 rating

  • 5 stars 1
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0

Click a star to rate this tool

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. 1 Choose Encode for plain text or Decode for a Base64 string, then paste your input.
  2. 2 Use URL-safe alphabet when the receiving system expects that variant. Review the output or any decoding error.
  3. 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.

  • How to Use Base64 Encoder / Decoder

    Encode text to Base64 or decode Base64 back to text. Switch between standard and URL-safe alphabets and copy the result directly in your browser.

Browse all guides

Report an issue

Something broken or not quite right? Tell us and we will look into it.

Accessibility Menu

Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.

Move / Hide Widget

Restore at any time with Ctrl+U (Option+U on Mac).

Accessibility statement and help