Twidler

Base64 Encoder & Decoder

Convert text to Base64 and back. Optional URL-safe output for tokens and query strings. Runs locally in your browser (with a PHP fallback).

UTF-8 safe URL-safe option Copy in one click

Input

0 chars

Output

0 chars

What this does

  • Encode: turns any text (full UTF-8, including emoji) into Base64.
  • Decode: converts Base64 back into the original text. Whitespace and line breaks are ignored.
  • URL-safe: uses - and _ instead of + and / and drops padding — ideal for URLs and JWT-style tokens.

Everything runs in your browser — your input is never sent anywhere when JavaScript is enabled.