Base64URL Encoder — Free Online Tool

Encode or decode UTF-8 text to URL-safe Base64 (base64url) with no padding — ideal for JWTs and query parameters.. Base64URL Encoder is a free online tool from the ToolsRift Developer Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading Base64URL Encoder

How to use Base64URL Encoder

Pick encode or decode and paste your text. Encoding produces base64url output with + and / replaced by - and _ and the = padding removed for URL safety.

Frequently asked questions

How is Base64URL different from Base64?

It swaps + for - and / for _ and drops the = padding, so the output is safe inside URLs, filenames and JWT segments without escaping.

Where is Base64URL used?

In JSON Web Tokens, OAuth, WebPush keys and any place Base64 must appear in a URL without percent-encoding.

Does it handle Unicode text?

Yes — text is encoded as UTF-8 first, so emoji and non-Latin scripts round-trip through encode and decode correctly.

More Developer Tools

JWT Generator (HS256)
Sign a JSON Web Token with HMAC-SHA256 from your header, payload and secret — output verifiable against jwt.io.
URL Encoder / Decoder
Percent-encode or decode text for URLs using encodeURIComponent or encodeURI, in both full-string and component modes.
JSON to Query String
Convert a JSON object into a URL query string with bracket notation for nested objects and arrays, fully percent-encoded.
Duration Humanizer
Convert milliseconds or seconds into a readable duration like 1d 2h 3m 4s, and break it down across every time unit.
Timestamp Diff
Compute the difference between two dates or Unix timestamps in days, hours, minutes, seconds and a humanized string.
UUID v5 Generator
Generate deterministic RFC 4122 v5 UUIDs by SHA-1 hashing a name within a namespace (DNS, URL, OID, X.500 or custom).

← View all Developer Tools