Skip to main content
Encoding Tools
Popular
Recently added

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

  • 1
    Choose Encode or Decode.
  • 2
    Paste plain text or Base64 into the input.
  • 3
    Optionally enable URL-safe mode.
  • 4
    Copy the live output.

Example

Encode a greeting

Input
Hello DevTools
Output
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

What Is Base64? Encoding Explained for Developers

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.

How to Use the Base64 Encoder / Decoder

Convert text to Base64 and back for data URLs, tokens, and ASCII-safe transport - plus what Base64 is (and is not) good for.


Developer resources