# Base64 encoder and decoder | ApplyAI Tools

<https://tools.applyai.tech/en/base64/>

Encode and decode UTF-8 text as Base64 or Base64url. Supports Unicode, Chinese and emoji, with local processing, copy and text download.

## Base64 encoder and decoder

Encode and decode UTF-8 text as Base64 or Base64url. Supports Unicode, Chinese and emoji, with local processing, copy and text download.

## How to use this tool

Choose encode or decode and an alphabet, paste text and convert. Standard Base64 includes padding; URL-safe output uses - and \_ and omits padding. Copy or download the result as a text file.

## Public example

```
Hello → SGVsbG8=
你好 → 5L2g5aW9
```

### Is Base64 encryption? Can I decode binary files?

Base64 is reversible encoding, not encryption. This tool handles UTF-8 text only. Decoding accepts optional padding and ASCII spaces or line breaks, but rejects mixed alphabets, misplaced padding and non-zero pad bits. Invalid UTF-8 is rejected instead of silently changing text.

### Does my input leave this browser?

Conversion runs locally. These tools do not save inputs or send them to a conversion API. Site analytics record actions, not entered content; advertising follows the privacy policy.

## Related tools

- [Unix timestamp converter](<https://tools.applyai.tech/en/timestamp/>)

- [JWT decoder](<https://tools.applyai.tech/en/jwt-decoder/>)

## Standards and references

[RFC 4648 · Base64](<https://www.rfc-editor.org/rfc/rfc4648>)
