Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 online — UTF-8 & URL-safe.
Introduction
Use this Base64 encoder / decoder to encode text for data URLs, tokens, and ASCII-safe transport, or decode Base64 back to UTF-8. Supports URL-safe Base64. Remember: Base64 is encoding, not encryption — anyone can reverse it.
Features
- Encode UTF-8 text to Base64
- Decode Base64 to plain text
- URL-safe Base64 mode
- Live conversion with swap
- Clear error handling for invalid input
How to use
- 1Choose Encode or Decode.
- 2Paste plain text or Base64 into the input.
- 3Optionally enable URL-safe mode.
- 4Copy the live output.
Example
Encode a greeting
InputHello DevToolsOutput
SGVsbG8gRGV2VG9vbHM=
Benefits
- Use Base64 without installing a desktop app or browser extension.
- Works well alongside URL Encoder and HTML Encoder for adjacent steps in the same workflow.
- Results stay in this browser tab until you copy or download them.
FAQs
Yes. Text is encoded and decoded using UTF-8 so non-ASCII characters are handled correctly.
No. Base64 is an encoding scheme for representing binary data as text. It is not encryption and should not be used for secrecy.
It replaces + and / with - and _ and omits padding, which is common in JWTs and query strings.
No. Base64 runs in your browser. Your input is processed locally and is not sent to EverydayDevTools servers.
Related guides
Learn what Base64 is, why systems use it for data URLs and tokens, how encoding differs from encryption, and when to encode or decode in the browser.
Convert text to Base64 and back for data URLs, tokens, and ASCII-safe transport - plus what Base64 is (and is not) good for.