Dev / IT
Base64 Encode / Decode
Free online Base64 encoder and decoder tool. Convert any text or string to Base64 encoding instantly, or decode Base64 strings back to plain text. Supports both standard Base64 and URL-safe Base64 (replacing + with - and / with _). Commonly used for encoding API payloads, JWT token components, email attachments, and data URIs. Swap input and output with one click. All processing is 100% client-side — your data never leaves your browser.
how to use
- 1.Enter your text or Base64 string in the input
- 2.Click Encode to convert text to Base64
- 3.Click Decode to convert Base64 back to text
- 4.Toggle URL-safe mode for use in URLs and JWT
frequently asked
What is Base64 used for?
Base64 is used to encode binary data as ASCII text — common in JWT tokens, email attachments, and data URLs.
What is the difference between Base64 and URL-safe Base64?
URL-safe Base64 replaces + with - and / with _ to make it safe for use in URLs and filenames.