Local Processing

Base64 Encode / Decode Online

Convert UTF-8 text and Base64 locally; Base64 is encoding, not encryption.

Runs locallyNo uploadYour input is processed in your browser.
Base64 Encode / Decode online tool preview
Base64 Encode / Decode Online Convert UTF-8 text and Base64 locally; Base64 is encoding, not encryption.

Base64 Encode / Decode

Encode and decode Base64 text with UTF-8, URL-safe, and Unicode support.

What this tool does

Base64 represents bytes with printable characters. It is reversible encoding rather than encryption and does not protect secrets.

What it measures or changes

  • Text to Base64 and Base64 to text
  • UTF-8 and Unicode text
  • Standard and URL-safe alphabets
  • Padding and invalid-character feedback

Technical details

  • UTF-8 converts Unicode text to bytes before encoding.
  • URL-safe Base64 replaces + and / with - and _; padding may be omitted.

Common errors

  • Assuming Base64 is encryption.
  • Mixing URL-safe and standard alphabets.

Best practices

  • Do not paste live secrets.
  • Keep the original value when repairing padding.

Examples

Prepare an API example.

Input example
LumaTool ✓
Output example
THVtYVRvb2wg4pyT

UTF-8 converts Unicode text to bytes before encoding.

Read an encoded configuration value.

Input example
THVtYVRvb2wg4pyT
Output example
LumaTool ✓

URL-safe Base64 replaces + and / with - and _; padding may be omitted.

Compare standard and URL-safe variants.

Input example
eyJ0eXBlIjoiZXhhbXBsZSJ9
Output example
{"type":"example"}

UTF-8 converts Unicode text to bytes before encoding.

Privacy note

Processing happens locally in this browser. Your text or file is not uploaded to LumaTool servers.

How to use

  1. Step 1. Enter or choose plain text or Base64.
  2. Step 2. Select the options required for this task.
  3. Step 3. Run Convert Base64 and review validation messages.
  4. Step 4. Copy or download the encoded or decoded text after checking the result.

Real-world examples

Prepare an API example

Prepare an API example.

Read an encoded configuration value

Read an encoded configuration value.

Compare standard and URL-safe variants

Compare standard and URL-safe variants.

FAQ

What input does Base64 Encode / Decode Online accept?

LumaTool ✓ THVtYVRvb2wg4pyT eyJ0eXBlIjoiZXhhbXBsZSJ9

How is the result produced?

UTF-8 converts Unicode text to bytes before encoding. URL-safe Base64 replaces + and / with - and _; padding may be omitted.

Is my input uploaded?

Processing happens locally in this browser. Your text or file is not uploaded to LumaTool servers.

Which options should I choose?

Choose only the options needed to turn plain text or Base64 into the encoded or decoded text; the defaults preserve the least surprising behavior.

Can I use the result immediately?

Review validation messages and compare a representative sample before using the result in production.

Does it work on mobile?

Yes. The workspace and result controls adapt to desktop and mobile browsers.

What should I do when input is rejected?

Assuming Base64 is encryption. Mixing URL-safe and standard alphabets.

Is processing private?

Processing happens locally in this browser. Your text or file is not uploaded to LumaTool servers.

Related tools