How to Upload NFT Metadata to IPFS Without the .JSON File Extension

If you upload NFT metadata to IPFS via NFT.Storage, Pinata, or self-upload, you might be confused about why the files have a .json extension.

If your smart contract code has string public baseExtension = “.json”, you won’t have a problem when your TokenURI is: IPFS://Hash, since the TokenURI will ping IPFS://Hash/TokenID.json as set out in your code.

If your smart contract code does not have string public baseExtension = “.json”, then you should open your Mac’s Finder -> Preferences -> Check “Show all filename extensions” and uncheck “Show warning before changing an extension”.

Then going back to your NFT Metadata folder, select all of your .JSON files, then select “Rename”.

In “Rename”, select “Replace Text”, in “Find” type .json, in “Replace with do not input anything. Then click “Rename button”

You can now upload your files to IPFS without the .json extension in the end, and your TokenURI will appear neatly as ipfs://hash/tokenID.

Being an artist is an everyday race of not messing up. As a NFT artist, you experience that, but with the addition of driving in water and having fear of suffocation when the code causes you to have heart attacks.

After searching for hours on Stackoverflow to try to resolve this issue, I finally was able to resolve it without redeploying the smart contract.

Some related questions I searched:

IF you ever run into a similar situation when your IPFS://hash/tokenID does not return NFT metadata, do not panic and try my method above.

— — — — —

Mettimoto is a contemporary art NFT collection from Pumpametti, paying homage to Satoshi Nakamoto and Rare Pepes.

RAREPEPE — Rare Pepe Series 1, Card 1 — Nakamoto Card, 2016
Mettimotto, 2022, by Pumpametti

The history of art is full of mashups, tributes, and homages. By comparing collectors and social undertones of the period, artists can gain a fresh perspective on a particular work. For me & many, the status of Rare Pepe Nakamoto card is the Rothko of our time.

Like Vic Muniz’s After Rothko (2016) paid homage to Mark Rothko’s Rothko (1949), I am interested in using crypto art as a way to document crypto memories, both of my own and those around me, and this Rare Pepe Nakamoto Card is one of my primary motivations. While meditating on Nakamoto’s color fields, I have been thinking about Rothko’s color fields.

Vik Muniz, Metachrome: №3/№13, after Mark Rothko, 2016
Magenta, Black, Green on Orange (1949) by Mark Rothko
Pumpametti, Mettimotto, 2022

I’m reliant on my art, not reliant on influencers. Making art sometimes makes me pause, look and think into a mindless void, bringing back chaotic memories of rehab, relapse, rehab, market ups and downs. This be hitting the veins and nerves of me and of those who can relate.

I am thankful for my collectors, NFT cycle works in months and weeks, attention in the last year does not carry well into this year unless you are a top market darling. I will be working my tail off with my art in the same spirit that’s uniquely Metti. It’s the soul of artist.

I apologize for the NFT metadata delay on Mettimotto, hope my solution of what to do about the .json file extension will be helpful for you as a NFT artist or developer.

Mettimotto Collection:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Welcome to my dark twisted art corner where you are my sunshine to salvation.