search widget

How to use your browser To Decode base64 Encoded data

Sunday, August 23, 2015

If you are dealing with base64 encoded data you may find it useful to know that any modern browser can easily decode it using the Data URI scheme.
All you need is pass the encoded data to the browser in the same way as you would enter a regular URL, but of course using the correct structure of the data URI scheme:

The MIME-type and charset parameters are optional, with default values text/plain and US-ASCII but is a good practice to always specify at least the MIME-type.

An example of base64 encoded data is:
which should be decoded to:

message encoded in base64
Suggested tools for base64 encoding / decoding:

No comments:

Post a Comment