# Base64 Text

Encode and decode UTF-8 text to and from Base64, URL-safe optional.

## URL

https://ilham.dev/tools/base64-string-converter/

## What It Does

Encode UTF-8 text to Base64, or decode it back, with an optional URL-safe alphabet where + and / become - and _ and the padding is dropped. Multi-byte characters are handled correctly because the text is encoded to UTF-8 bytes first, so accented letters and emoji round-trip without corruption.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- What is URL-safe Base64 for?
- Is Base64 a form of encryption?




## Questions

### What is URL-safe Base64 for?

Standard Base64 uses + and /, both of which have to be escaped inside a URL. The URL-safe variant swaps them for - and _ so the value can sit in a query string or a filename untouched.

### Is Base64 a form of encryption?

No. It is a reversible encoding with no key, and anyone can decode it. Use the AES tool if you need actual confidentiality.

