What Is a DEX? Swapping Crypto Without an Account

In short
What a DEX is in plain English: how a decentralized exchange swaps tokens straight from your wallet, what it costs, and what can go wrong.
A DEX is a decentralized exchange: a place to swap one crypto token for another straight from your own wallet, with no account, no password and no company holding your coins. It is a program running on a blockchain such as Ethereum. Uniswap is the best-known one, and it has handled more than three trillion dollars of trades since it launched in 2018.
How does a swap on a DEX actually work?
You open the site, connect a wallet such as MetaMask, pick the two tokens and approve the trade in the wallet. That is the whole flow. There is no sign-up, no deposit and no withdrawal queue, because the coins never leave your wallet until the swap itself happens. What you trade against is not another person but a liquidity pool — a shared pot of two tokens that other users have parked there, priced by a fixed formula. Think of a vending machine that always has both drinks in stock and quietly raises the price of whichever one is selling out.
What does it cost, and what can go wrong?
There are two costs. A trading fee, commonly around 0.3% on Uniswap, goes to the people who supplied the pool. A network fee, called gas, goes to the blockchain for processing the transaction — and that one is charged even when the swap fails. The risks are different from an exchange account. Nobody can freeze your funds, but nobody can undo your mistakes either. Anyone can create a token and open a market for it, including worthless copies using a famous name, so paste the contract address from the project's own site rather than trusting the first search result.
Who should use one?
People who want to hold their own keys, and people after tokens too new or too small to be listed on Binance or Coinbase. A DEX is not the way to buy your first coins with a bank card — that is still a regular exchange, because a DEX only trades one token for another. It is, however, where most of crypto's long tail actually trades.
To try it: fund a wallet with a small amount, swap a few dollars first, and check the receiving token's address before you approve anything. Our guide to how a decentralized exchange works goes deeper into the machinery, and CEX vs DEX covers when each is the better tool.