"test" in Base64
Base64 Encoded
dGVzdA==
"test" encoded in Base64 is: dGVzdA==
How it works
Base64 encoding converts binary data to ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). Each 3 bytes of input becomes 4 Base64 characters. Padding with "=" is added when needed.
"test"input
→dGVzdA==Base64 output
·padding: =Common use cases
- Encoding data in URLs and email
- Storing binary data in JSON or XML
- HTTP Basic Authentication headers
- Embedding images in HTML/CSS
- JWT token payloads
Try the encoder
Loading tool...