link

Base64URL Encode

Encode to URL-safe Base64 format. Perfect for use in URLs and filenames without escaping.

Text Input

Enter text to encode

0 characters0 bytes

Base64URL Output

URL-safe encoded result

text_fields
trending_flat
link

Enter text to encode to URL-safe Base64

Common Use Cases

token

JWT Tokens

Header and payload encoding

link

URL Parameters

Safe query string values

folder

File Names

Safe for all filesystems

database

Database Keys

Safe unique identifiers

About Base64URL Encoding

Base64URL is a URL-safe variant of Base64 encoding. It replaces characters that have special meaning in URLs (+ and /) with safe alternatives (- and _), and optionally removes padding characters (=).

  • Replaces + with - (URL-safe hyphen)
  • Replaces / with _ (URL-safe underscore)
  • Padding (=) can be removed as it's recoverable
  • Result can be used directly in URLs without encoding
  • All processing happens locally in your browser