# Base64 Encoder

Canonical: https://dev.eneawork.it/base64
Language: en
Updated: 2026-11-02
Author: Enea Zani (https://eneawork.it)

Encode and decode Base64 with UTF-8 and URL-safe output.

## What it does

Base64 turns arbitrary bytes into a text-safe alphabet, which is why it appears in data URLs, email attachments and JWT segments. This encoder uses UTF-8 and can switch to the URL-safe alphabet, replacing + and / with - and _, so the value survives URLs and filenames.

## How to use

1. Choose encode or decode.
2. Paste the text and toggle URL-safe if needed.
3. Copy the result or swap it back into the input.

## FAQ

### Is Base64 encryption?

No. It is reversible encoding, not protection. Anyone can decode it; use real encryption for secrets.

### Why do emoji work?

Text is converted to UTF-8 bytes before encoding, so multi-byte characters round-trip correctly.

### What is URL-safe Base64?

It swaps + and / for - and _, and often drops padding, so the string can be used in URLs without escaping.

## Related tools

- [URL Encoder](https://dev.eneawork.it/url-encoder)
- [Hash Generator](https://dev.eneawork.it/hash-generator)
- [JWT Decoder](https://dev.eneawork.it/jwt)

## Machine-readable

- Tool catalogue: https://dev.eneawork.it/tools.json
- Full AI context: https://dev.eneawork.it/llms-full.txt
- Privacy: https://dev.eneawork.it/privacy
- This page in HTML: https://dev.eneawork.it/base64
- Italian version: https://dev.eneawork.it/it/base64
