Skip to content
ToolsOnDuty - free online tools
Developer Tools

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text.

Free browser toolRuns in your browserNo sign-up
Encoding workspace

Encode and decode Base64 without confusing it for security

Convert Unicode text to Base64 or inspect an encoded text payload locally. Invalid input is rejected instead of returning corrupted output.

0 B

input size

—

output size

Ready

operation

Input

0 characters
Text-based Base64 workflow

Result

No output yet
Base64 is reversible encoding, not encryption. Do not use it to conceal passwords, API keys or other secrets.
Private by design. Input is processed inside this browser tab and is not sent to ToolsOnDuty.

About the Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to plain text, with full Unicode and emoji support.

Useful for data URIs, embedding assets, inspecting tokens and debugging encoded payloads.

Base64 is not encryption; it simply represents data using a safe set of characters, which is why it is common in URLs, emails and data URIs.

Key features

  • Encode and decode in the same tool
  • Correctly handles Unicode and emoji
  • Input and output byte-size indicators
  • Copy, download or reuse the result as input
  • Clear invalid-Base64 errors
  • Everything stays in your browser

How to use

  1. 1Paste text or Base64, load a local text file or use the Unicode sample.
  2. 2Choose Encode text or Decode Base64.
  3. 3Review any validation error and the input/output size indicators.
  4. 4Copy, download or move the result back into the input for another operation.
  5. 5Copy the encoded or decoded result for use in your application.

Examples

Encode
Input: Hello World
Output: SGVsbG8gV29ybGQ=

Text is converted to a Base64 string that is safe for text-only fields.

Decode
Input: SGVsbG8gV29ybGQ=
Output: Hello World

A Base64 string is turned back into the original text.

Frequently asked questions

Is Base64 the same as encryption?
No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to hide secrets.
Does it support emojis and non-English text?
Yes. The tool is Unicode-safe, so emojis and accented or non-Latin characters encode and decode correctly.
Is my input sent to a server?
No. Encoding and decoding run entirely in your browser.

Open a related tool to prepare your files or refine the finished result.