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 Encode
Variant URL-safe Base64
Input length 25
Output length 34

What this means

The input text was encoded to Base64 using UTF-8 bytes, producing a copy-ready Base64 output.

URL-safe Base64 replaces + and / characters and typically omits trailing padding, which is useful in URLs and web application contexts.

Use this mode when you need to convert readable text into Base64 for transport, testing, or configuration workflows.

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.