Base64URL
Base64URL is the URL-safe variant of Base64, replacing + and / with - and _ and usually omitting the = padding; it is designed for URLs and file names.
Purpose
It lets Base64 output appear safely in URL paths, query parameters, and file names without extra percent-encoding.
Mechanism
It uses the same 6-bit grouping as standard Base64, but characters 62 and 63 of the alphabet become - and _; the = padding may be omitted (decoders restore it from the length).
Use cases
- JWT token encoding
- URL-safe data transfer
- Binary identifiers in file names
Related tools
Base64 Encoder
Encode text or binary data to Base64 online. Free, private, and 100% client-side. TOOL
Base64 Decoder
Decode Base64 data back to readable text online. Free, private, and 100% client-side. TOOL
JWT Encoder
Encode JWT with HS256. Free, private, 100% client-side. Not for server-side verification. TOOL