Skip to main content
Back to Tools
Web Tools

Base64 URL Encoder

Encode and decode URL-safe Base64 (RFC 4648). Converts between text and base64url format used in JWTs, OAuth tokens, and URL parameters. Runs entirely in your browser — your data never leaves your machine.

base64 base64url encoding decoding jwt url-safe rfc4648

Published May 30, 2026

All interactive tools run entirely in your browser. Your data never leaves your device.

How It Works

Paste text to encode it as URL-safe Base64, or paste a base64url string to decode it back to text. URL-safe Base64 replaces + with - and / with _, making it safe for use in URLs and filenames.

Features

  • Bidirectional: encode text to base64url or decode base64url to text
  • Padding toggle: optionally include or strip = padding characters
  • UTF-8 support: handles Unicode text including emoji
  • 5 examples: quick-start with common use cases
  • Private: runs entirely in the browser — no data transmitted

Use Cases

  • Encoding data for JWT claims and OAuth tokens
  • Creating URL-safe identifiers and tokens
  • Encoding binary data for URL query parameters
  • Converting between standard Base64 and URL-safe Base64