Remove metadata fast — MetaRemover.com

NFT Metadata (2025): JSON, IPFS & Best Practices

Structure nft metadata correctly for ERC-721/1155, host it reliably, prevent rug-pulls, and keep creator privacy. This guide covers JSON fields, traits, on-chain vs off-chain storage, pinning, and CLI automation.

ERC-721ERC-1155IPFS/Arweave2025

Start removing metadata right now — local, instant, and private.

Go to MetaRemover.Com
No uploads • No tracking • JPG/PNG/WebP

Reliability

Immutable URIs

Rug-pull riskLow (if pinned)

Privacy

Image EXIF

Leak chanceAvoidable

Compatibility

Marketplaces

Schema matchHigh

What is NFT metadata?

NFT metadata is a JSON file referenced by tokenURI. It contains human-readable fields (name, description), media links (image, animation_url) and attributes used for traits and filters on marketplaces.

{
  "name": "Wave #1",
  "description": "Generative ocean pattern",
  "image": "ipfs://bafy.../wave1.png",
  "animation_url": "ipfs://bafy.../wave1.mp4",
  "attributes": [
    { "trait_type": "Palette", "value": "Teal" },
    { "trait_type": "Rarity", "value": "Epic" }
  ]
}
Tip
Prefer ipfs:// or Arweave URIs in metadata. HTTP links can change or disappear.

JSON schema for ERC-721 & ERC-1155

Common fields

Used by most marketplaces

  • name, description, external_url
  • image (PNG/JPEG/GIF/SVG), animation_url (video/HTML)
  • attributes array for traits (strings or numbers)
  • background_color (hex), youtube_url (optional)

Hosting options: IPFS vs Arweave vs HTTP

OptionProsConsBest for
IPFS (+ pinning)Content-addressed, cheap, decentralized gatewaysNeeds pinning/redundancyMost collections
ArweavePermanent storage, TX-anchoredUpfront cost, larger files priceyLong-term archives
HTTP/S3Simple, fast CDNMutable, central point of failureInternal previews, staging
Publishing photo-based NFTs? Scrub hidden EXIF/GPS before uploading. Use a privacy-first, browser-only cleaner MetaRemover.com.

On-chain vs Off-chain metadata

On-chain

Max permanence

  • Store JSON or data URI directly in the contract
  • Great for tiny SVG/JSON, generative art
  • Higher gas, update-unfriendly

Off-chain

Flexible & cheap

  • Host on IPFS/Arweave, set tokenURI to the CID
  • Pin across multiple providers
  • Use content hashes for verification

Traits & rarity

Use attributes for filterable traits. Stick to consistent naming and value types. Numeric traits should be numbers, not strings. Avoid leaking private data in attributes (e.g., GPS).

"attributes": [
  { "trait_type": "Background", "value": "Ocean" },
  { "trait_type": "Glow", "display_type": "boost_percentage", "value": 25 },
  { "trait_type": "Level", "display_type": "number", "value": 7 }
]

Tools & generators

Common steps

End-to-end

  1. Generate artwork & export to lossless formats
  2. Scrub image EXIF (see privacy tip below)
  3. Create JSON metadata programmatically
  4. Upload media → get CID → reference in JSON
  5. Upload JSON → set tokenURI → pin

CLI automation

Generate JSON

Node.js script (example)

// generate.js
const fs = require('fs');
const items = [
  { id: 1, name: 'Wave #1', imageCid: 'bafy...1', palette: 'Teal' },
  { id: 2, name: 'Wave #2', imageCid: 'bafy...2', palette: 'Purple' }
];
for (const it of items) {
  const meta = {
    name: it.name,
    description: 'Generative ocean pattern',
    image: 'ipfs://' + it.imageCid,
    attributes: [{ trait_type: 'Palette', value: it.palette }]
  };
  fs.writeFileSync(`./metadata/${it.id}.json`, JSON.stringify(meta, null, 2));
}

Pin & verify

API or CLI

# ipfs-cli examples
ipfs add --cid-version=1 --pin ./images/*
ipfs add --cid-version=1 --pin ./metadata/*

# Verify that each tokenURI CID exists
# and that image CIDs referenced by JSON resolve via a gateway.

Image privacy: remove EXIF before minting

Photos often include hidden EXIF/GPS, camera serials, and authoring software tags. Once minted and replicated to IPFS, that data can spread forever. Always sanitize images before you upload.

Use a privacy-first, browser-only cleaner MetaRemover.com. It processes images locally (no uploads).

FAQ

Publishing collection previews with photos? Sanitize them first with MetaRemover.com — quick, private, browser-only.

Ship trustworthy NFTs — and protect creator privacy

Use immutable URIs, pin your CIDs, validate JSON, and scrub image EXIF before minting. Fewer surprises after launch.