Dev / IT

Base64 Encode / Decode

Convert text or binary data to Base64 encoding and back. Supports standard Base64 and URL-safe Base64. Useful for encoding API payloads, images, and JWT components.

advertisement · 728×90 leaderboard
tool component coming soon

how to use

  1. 1.Enter your text or Base64 string in the input
  2. 2.Click Encode to convert text → Base64
  3. 3.Click Decode to convert Base64 → text
  4. 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.