URL-Escaped Base64 Decoder

Recover text from a standard Base64 value that was escaped inside a URL parameter. Undo percent encoding before decoding Base64.

Input: URL-escaped textResult: Binary bytes

Text input

Run to see the result

Examples

Bitcoin genesis newspaper headline

Input

VGhlIFRpbWVzIDAzL0phbi8yMDA5IENoYW5jZWxsb3Igb24gYnJpbmsgb2Ygc2Vjb25kIGJhaWxvdXQgZm9yIGJhbmtz

Expected answer

UTF-8 text · exact bytes
The Times 03/Jan/2009 Chancellor on brink of second bailout for banks
A registry credential from Kubernetes documentation

Input

dGlnZXI6cGFzczEyMzQ%3D

Expected answer

UTF-8 text · exact bytes
tiger:pass1234
A checksum-sensitive log line with a final newline

Input

ZXZlbnQ9ZGVwbG95IHN0YXR1cz1yZWFkeQo%3D

Expected answer

UTF-8 text · exact bytes
event=deploy status=ready
A French café in precomposed Unicode

Input

Y2Fmw6k%3D

Expected answer

UTF-8 text · exact bytes
café
A French café with a separate combining accent

Input

Y2FmZcyB

Expected answer

UTF-8 text · exact bytes
café
Chinese text in a UTF-8 request body

Input

5L2g5aW977yM5LiW55WM

Expected answer

UTF-8 text · exact bytes
你好,世界
A literal plus and space inside a URL parameter

Input

cmVsZWFzZSBub3RlcytBL0I%2F

Expected answer

UTF-8 text · exact bytes
release notes+A/B?

How the result is produced

  1. URL Decoder
  2. Base64 Decoder

Conventions and limitations

This example uses the standard alphabet. Base64url tokens use a different alphabet; use the dedicated Base64 tool with the URL-safe alphabet for those tokens.

Related tools

Browse data format tools