Encode text to Base64 or decode Base64 back to text.
Base64 Encoder/Decoder runs entirely in your browser. Enable JavaScript to use the interactive tool — your files are processed locally and never uploaded.
Base64 Encoder/Decoder is a developer tool that translates text or binary data into Base64 format and vice versa. Base64 is an encoding scheme used to represent binary data in an ASCII string format, commonly used for embedding images in CSS, sending email attachments, and storing complex data in cookies.
Type hello:world into the encoder and you get aGVsbG86d29ybGQ=. That string slots straight into an HTTP Basic Authentication header - Authorization: Basic aGVsbG86d29ybGQ= - so you can authenticate against an API without sending the raw username and password. To inspect a JWT or an API payload, switch to Decode and paste the Base64 middle segment of the token; the tool converts it straight back to readable text such as {"sub":"1234","role":"admin"}.