Encoding

Base64URL decoder

Decode Base64URL encoded text (RFC 4648 §5). Handles - and _ characters and missing padding automatically.

Base64URL Encoded

0 chars · 0 words · 0 lines

Get QR code
Copy to clipboard
Save to file

Plain Text

0 chars · 0 words · 0 lines

Get QR code
Copy to clipboard
Save to file

Decode a URL-safe Base64 string

Paste one URL-safe Base64 string to decode it as UTF-8 text. This tool replaces - and _ with their standard Base64 equivalents and restores omitted padding before decoding. For example, SGVsbG8 becomes Hello, and Pz8_ becomes ???.

This page is intended for encoded text. For binary output or a different character encoding, use the standard Base64 decoder and select HEX or the expected text encoding.

Work with encoded token segments

JWT headers and payloads use Base64URL, but a complete token also includes dots and a signature. Process one segment at a time here. Changing or reading a segment does not verify a signature or establish that a token is trustworthy.

See RFC 4648 section 5 for the URL-safe alphabet. Use the Base64URL encoder for the reverse conversion.

Common questions

How is Base64URL different from Base64?
Base64URL replaces + with - and / with _. This encoder also omits trailing = padding, and the decoder restores missing padding.
Can I decode an entire JWT here?
Paste one encoded segment at a time. Decoding the header or payload does not verify the signature or validate the token.
Share

marduc812

SourcePrivacy

© 202620261119_b7bad2b