The "Base64 Image Viewer" is a simple HTML page designed to display an image encoded in base64 format. The base64 string is extracted from the query string of the URL and used as the source for an image element.
-
Open the HTML file (index.html) in a web browser.
-
Append the base64-encoded image string to the URL as a query parameter named url. For example:
index.html?url=YOUR_BASE64_ENCODED_STRING
or
index.html?url=data:image/png;base64,YOUR_BASE64_ENCODED_STRING
- The page will load, and the image will be displayed based on the provided base64 string.
Warning
This repository meant to run on the web but unfortunately GitHub Pages and Netlify return http 414 status (Request-URI Too Long) so it will work only on local machine (until I find a solution)