RFC 4648 §5 Base64URL Encoder & Decoder
Pre-configured in URL-Safe Base64URL mode (`RFC 4648 Section 5`), this converter replaces `+` with `-`, `/` with `_`, and strips `=` padding so encoded payloads travel safely inside URLs, JWT segments, and OAuth 2.0 PKCE challenges without extra percent-encoding.
#How to Use This Tool
#Mathematical Formula & Standards
#Edge Cases & Technical Considerations
JWT & OAuth 2.0 PKCE Compatibility
JSON Web Tokens (`header.payload.signature`) and OAuth 2.0 PKCE `S256` challenges (`BASE64URL(SHA256(verifier))`) strictly require unpadded Base64URL (`-` and `_`), rejecting standard Base64 `+`, `/`, or `=`.
Full UTF-8 Multibyte Safety
Inputs are converted via `TextEncoder` UTF-8 bytes before Base64URL mapping so emojis and non-ASCII scripts encode without `btoa()` Latin1 errors.
#Frequently Asked Questions
Q:What is the difference between Base64 and Base64URL?
Base64URL (RFC 4648 §5) replaces `+` with `-`, `/` with `_`, and omits `=` padding so the string can be placed directly in URL query parameters, paths, and JWTs.
Q:Are my JWT payloads or tokens sent to a server?
Never. Encoding and decoding run 100% locally in your browser.
Have feedback or feature requests?
Help us improve this utility. Share suggestions, report edge cases, or request new features directly.
#Related Utilities
Explore complementary tools running on-device with zero server upload.
Base64 Encode & Decode — UTF-8 & URL-Safe Online Converter
Fast, private client-side Base64 converter supporting UTF-8 international text, file-to-data-URL generation, and URL-safe mapping. All decoding and encoding happens entirely within your browser in-memory.
URL Encode & Decode Online — RFC 3986 Percent-Encoding & Query Inspector
Safely percent-encode or decode URLs, OAuth redirect URIs, API query parameters, and multibyte UTF-8 text directly in your browser. Switch seamlessly between Component (encodeURIComponent), Full URI (encodeURI), and Form (application/x-www-form-urlencoded) modes with optional strict RFC 3986 escaping and an automatic URL structure & query parameter breakdown table.
JWT Decoder & Inspector — Zero-Upload Online JWT Token Viewer
Decode, inspect, and verify JSON Web Tokens (JWT) directly inside your browser. No auth tokens or secret keys are ever transmitted over the network or logged to cloud servers, satisfying strict enterprise privacy, SOC2, and GDPR Article 28 compliance.