# Base64 Decode - Base64 to Text

URL: http://103.76.183.74:8106/base64-decode

Decode Base64 to text online. Tolerates line breaks, spaces, missing padding and URL-safe input, shows where invalid characters are and detects files hidden in Base64.

Paste Base64 and read the original text. The decoder accepts the forgiving input real life produces - line breaks, spaces, missing = padding, URL-safe characters - and tells you exactly where an invalid character is. If the data turns out to be an image, PDF or ZIP, it offers to open it in the file decoder.

## How to use it

1. Paste the Base64 string into the Input box.
2. Read the decoded text on the right. Change the character set if letters look wrong.
3. If the result is a file (image, PDF ...), click the suggestion to preview and download it.

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

## Questions

### Why does my decoded text show strange characters?

The text was probably encoded with another character set. Try UTF-16LE (Windows) or Windows-874 / TIS-620 (older Thai systems). If it still looks wrong, the data is a file, not text - open it in Base64 to File.

### What does "invalid character" mean?

Base64 only uses A-Z, a-z, 0-9, +, / and = (or - and _ in URL-safe Base64). Anything else, such as a quote or a % sign copied by accident, cannot be decoded. The tool shows its position so you can fix it.

### Do I need the = signs at the end?

No. The = signs are padding. This decoder adds missing padding by itself.

### 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/decode -H 'Content-Type: application/json' -d '{"data":"SGVsbG8gd29ybGQ="}'
```

## Related tools

- [Base64 Encode - Text to Base64](http://103.76.183.74:8106/base64-encode)
- [Base64 to File Converter](http://103.76.183.74:8106/base64-to-file)
- [Base64 Validator and Inspector](http://103.76.183.74:8106/base64-validator)
- [JWT Decoder - Read JSON Web Tokens](http://103.76.183.74:8106/jwt-decoder)
