# The Prompter // Metadata -Convert **Published by:** [monas](https://paragraph.com/@0xmonas/) **Published on:** 2023-03-01 **URL:** https://paragraph.com/@0xmonas/the-prompter-metadata-convert ## Content How to convert SVG art stored on-chain from base64 encoding to .png format1- Go to Prompter Smart Contract https://etherscan.io/address/0x829a2d0cfd8516813bb06229e3cd6596655267cc#readContract#F23 in your web browser. 2- Find the "TokenURI" function and click on it. A box will appear asking for the token ID you want to retrieve the TokenURI for. Enter the token ID of the NFT you want to retrieve the TokenURI for and click the "Query" button.3- The "TokenURI" function will return the metadata for the NFT, which is encoded in base64. This metadata points to an SVG file containing the NFT's properties, timestamp, and more.4- Go to https://www.base64decode.org/ in your web browser, paste the metadata you copied, the string after 'base64,' into the text field, and click the 'decode' button.https://www.base64decode.org/5-You will see another base64 string in the decoded metadata. Decode it again using the same method6- Finally, https://www.svgviewer.dev/svg-to-png and convert the last decoded SVG to .png. ## Publication Information - [monas](https://paragraph.com/@0xmonas/): Publication homepage - [All Posts](https://paragraph.com/@0xmonas/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@0xmonas): Subscribe to updates - [Twitter](https://twitter.com/0xmonas): Follow on Twitter