Base64 Converter: Encode and Decode Online

Convert text to Base64 or decode existing strings, detect URL-safe variants, and inspect the bytes in hex without leaving the browser.

Base64 encode

Enter text and it will be encoded with UTF-8 before converting to Base64.

Bytes: 0

Base64 decode

Detects standard or URL-safe variants automatically and adds missing padding when required.

Waiting for input

Hex view:

Base64 tips

Use padding hints and hex output to understand payloads quickly.

  • Paste API responses to inspect Base64 fields and confirm file types via the hex preview.
  • URL-safe variants are common in JWTs and query strings—the tool normalises characters for you.
  • If decoding fails due to missing padding, check the hint to see how many “=” characters were required.

All conversions run locally, so you can handle tokens or attachments without uploading them.

Execution ModeRuns entirely in the browserConversion uses built-in browser APIs so private blobs stay local.