All tools/Base64 Encoder

Base64 Encoder & Decoder

Encode plain text or files to Base64, or decode Base64 strings back to readable text. Toggle between standard and URL-safe variants.

Plain text input

0 characters

Base64 output

When QA engineers use Base64

Base64 appears frequently in API testing: HTTP Basic Auth credentials are Base64-encoded in the Authorization header (Basic dXNlcjpwYXNz). Decoding it quickly confirms the correct username and password are being sent without setting up a full debugging session.

URL-safe Base64 (using - and _ instead of + and /, with no padding) is used in JWTs and many OAuth flows. The Swap button lets you quickly reverse the direction when debugging encode/decode round trips.