Live tool

Base64 Encode / Decode

Encode and decode Base64 values quickly with UTF-8 handling, URL-safe support, and copy-ready output.

Input

Encode plain text to Base64 or decode Base64 content back to readable UTF-8 text.

Replaces + and / with URL-safe characters and removes padding where appropriate.
Reset

Result

Output value, processing summary, and copy-ready Base64 conversion result.

Mode Decode
Variant Standard Base64
Input length 16
Output length 11

What this means

The input Base64 value was decoded to UTF-8 text, producing a readable plain-text output.

Standard Base64 uses the regular alphabet and may include trailing = padding, which is common in general-purpose encoding workflows.

Use this mode when you need to inspect or troubleshoot Base64 values from headers, payloads, scripts, or configuration fields.

Common presets

Base64 quick guide

Practical notes on standard and URL-safe Base64 usage.

Standard Base64

Uses the regular Base64 alphabet and may include padding with =.

URL-safe Base64

Replaces + with - and / with _, often without padding.

UTF-8 text

This tool encodes and decodes text using UTF-8, which is what you want for typical web and API workflows.

Common use cases

Typical reasons engineers reach for Base64 conversion.

Encode payloads for API testing and lightweight transport scenarios.

Decode values from headers, tokens, configuration fields, or scripts.

Work with URL-safe values used in web applications and identity-related flows.