Skip to main content
CaseSwitch

Base64 Encode and Decode

Convert strings to Base64 for APIs, data URLs, and configuration files — or decode Base64 payloads back to plain text with proper Unicode handling.

Last reviewed: 2026-07-23

Processed locally in your browser. Nothing is sent to a server.

Character count: 0 · Word count: 0 · Line count: 0

How to use

  1. Choose encode or decode mode.
  2. Paste your text or Base64 string.
  3. Copy the converted result from the output panel.

Examples

Encode a phrase

Input

CaseSwitch

Output

Q2FzZVN3aXRjaA==

When to use Base64

Base64 is common in web APIs, email attachments, and JWT tokens. This tool helps you inspect or prepare payloads without installing desktop utilities.

Frequently asked questions

Is my data uploaded?+

No. Code and data tools run locally in your browser whenever possible.

Related guides

Learn more about this topic in our blog.

Related tools