Open base64 Image in a new tab using JavaScript

Today we’ll show you how to open base64 image in a new tab using JavaScript. In the previous article, we explained how to download a base64 image in JavaScript.

Let’s use the following code to preview base64 image in new tab.

In the above code, we have created the iFrame in the new tab and set the full screen style.

I hope you find this article helpful.
Thank you for reading. Happy Coding..!! 🙂

If you found value in this article,
you can support us by buying me a coffee! ☕

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *