# Base64 Encode and Decode Online

URL: http://103.76.183.74:8106/

Free online Base64 encoder and decoder. Convert text, images, PDFs and any file to Base64 and back, with preview and download. Runs in your browser - nothing is uploaded.

Type or paste text to turn it into Base64, or paste Base64 to get the original back. Switch between encode and decode with one click, choose the character set, URL-safe output and line breaks. Need images or files? Every tool is in the menu above - all of them run in your browser, so your data stays private.

## How to use it

1. Choose Encode or Decode at the top of the converter.
2. Type, paste or drop your text or Base64 into the left box.
3. The result appears instantly on the right - copy it or download it as a file.

Everything runs in the browser: the data is never uploaded to Base64 Studio.

## Questions

### What is Base64?

Base64 is a way to write any data - text, pictures, PDFs - using only 64 safe characters (A-Z, a-z, 0-9, + and /). It is used to put binary data inside e-mails, JSON, HTML, CSS and URLs, where raw bytes would break.

### Is Base64 encryption?

No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to hide passwords or secrets.

### Why is my Base64 longer than the original?

Base64 writes every 3 bytes as 4 characters, so the result is about 33% larger (plus line breaks if you turn them on).

### Is my data uploaded to a server?

No. Every conversion on this page runs inside your browser with JavaScript. Your text and files never leave your computer, which is why it also works for private keys, contracts and photos.

### Is the tool free?

Yes, free without sign-up and without limits other than your computer's memory. The site is paid for by the small ads on the left and at the bottom.

## Same thing with the API

```bash
curl -s -X POST http://103.76.183.74:8106/api/v1/encode -H 'Content-Type: application/json' -d '{"text":"Hello world"}'
```

## Related tools

- [Image to Base64 Converter](http://103.76.183.74:8106/image-to-base64)
- [Base64 to File Converter](http://103.76.183.74:8106/base64-to-file)
- [Base64URL Encoder, Decoder and Converter](http://103.76.183.74:8106/base64url)
- [Base64 Validator and Inspector](http://103.76.183.74:8106/base64-validator)
