home / safety / revoke-approval-builderlocal
Revoke Token Approval Builder
Build the exact transaction data to revoke an ERC-20 allowance or an NFT setApprovalForAll, without connecting your wallet to anything.
Runs locally in your browser. Nothing you type is sent anywhere.
safety tools · free · runs in your browser · no sign-up · no wallet
01 // about this tool
Revoke sites ask you to connect your wallet, which is exactly what you may not want after a scare. This builds the revoke call yourself: approve(spender, 0) for tokens, or setApprovalForAll(operator, false) for NFTs. You send it to the token contract with 0 value from any wallet that accepts hex data.
02 // how to use it
- Choose token or NFT.
- Paste the token contract and the spender you want to remove.
- Press Run, then check the data in the approval decoder before you send.
03 // faq
Does revoking get my tokens back?
No. It only stops future spending. Tokens already taken are gone.
Where do I find the spender?
In the original approval transaction on a block explorer, or in the token approval decoder if you have the data.