This blocklist prevents all devices on your home network from accessing Amazon websites and services. Use this if you want to completely remove Amazon from your digital life for privacy or personal reasons.
⚠️ IMPORTANT: This blocks ALL Amazon services. Read the "What Will Stop Working" section below before using this list.
When you use this blocklist, the following services and websites will completely stop working:
- Amazon.com - No online shopping on Amazon
- Prime Video - Cannot stream movies or TV shows
- Twitch - Streaming platform will not work
- IMDb - Movie database website will be blocked
- Audible - Audiobook service will not work
- Amazon Music - Music streaming will be blocked
- Kindle Cloud Reader - Cannot read books online
- Whole Foods online ordering - Website will not load
- Ring - Smart doorbell services may be affected
- Alexa web services - Voice assistant cloud features
- Many websites use Amazon's servers (AWS) - Some websites you visit regularly might stop working because they're hosted on Amazon's cloud infrastructure
- Apps and services - Mobile apps and services that rely on Amazon's backend may fail
- Fire TV Stick - Will crash on startup (see workaround below)
- Kindle e-readers - Cannot download new books or sync
- Echo devices - Smart speakers will lose most functionality
- Ring doorbells/cameras - May lose cloud features
This blocklist is for people who want to:
- Protect their privacy - Reduce data collection by Amazon
- Avoid monopolies - Stop supporting large tech companies
- Digital minimalism - Remove convenient but unnecessary services
- Take a stand - Make a personal choice about which companies to support
This is a significant lifestyle change. You're choosing privacy and principles over convenience. Make sure you're ready for the trade-offs.
You'll need a network-level ad blocker to use this list. Here are the most common options:
What is Pi-hole? A device (usually a Raspberry Pi) that blocks ads and trackers for your entire home network.
- Log in to your Pi-hole admin interface (usually at
http://pi.hole/admin) - Click on Group Management → Adlists
- Paste this URL in the "Address" field:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/parsedamazon - Click Add
- Go to Tools → Update Gravity to apply the changes
What is AdGuard Home? Similar to Pi-hole, blocks ads and trackers on your network.
- Open your AdGuard Home admin interface
- Go to Filters → DNS blocklists
- Click Add blocklist → Add a custom list
- Paste this URL:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/amazon-adguard.txt - Click Save
What is Unbound? An advanced DNS server for tech-savvy users.
- Download the configuration file:
sudo curl -o /etc/unbound/unbound.conf.d/amazon-blocklist.conf \ https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/amazon-unbound.conf
- Restart Unbound:
sudo systemctl restart unbound
If blocking everything is too extreme, you can block specific categories instead:
| Category | What It Blocks | Use This If You Want To... |
|---|---|---|
| General | Core Amazon domains (shopping, AWS) | Block shopping but keep other services |
| CloudFront | Amazon's CDN (content delivery) | Block Amazon's infrastructure |
| Twitch | Twitch streaming platform only | Block Twitch but keep Prime Video |
| IMDb | IMDb movie database only | Block IMDb but keep other services |
| Amazon Video | Prime Video streaming only | Block streaming but keep shopping |
Category list URLs:
- General:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/categories/generalparsed - CloudFront:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/categories/cloudfrontparsed - Twitch:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/categories/twitchparsed - IMDb:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/categories/imdbparsed - Amazon Video:
https://raw.githubusercontent.com/nickspaargaren/no-amazon/master/categories/amazonvideoparsed
Add these URLs to your Pi-hole or AdGuard the same way as the main list.
No, your internet will work fine. Only Amazon services and websites hosted on Amazon's servers will be blocked. Most of the internet will work normally.
Yes, but you need to unblock two specific domains:
fireoscaptiveportal.comfiretvcaptiveportal.com
Without these, your Fire TV will crash on the home screen. To unblock them, add them to your Pi-hole or AdGuard whitelist. This allows the Fire TV to boot while still blocking other Amazon services.
Some websites are hosted on Amazon's servers (AWS). If a site you need stops working:
- Temporarily disable the blocklist to confirm it's the cause
- Whitelist that specific domain in your Pi-hole/AdGuard settings
- Use category lists instead of the full blocklist to be more selective
In Pi-hole: Go to Group Management → Adlists, find the Amazon list, and click the red trash icon to remove it. Then update Gravity.
In AdGuard: Go to Filters → DNS blocklists, find the Amazon list, and click the trash icon.
This blocklist works at the network level, so it affects all devices on your home WiFi. For phone-only blocking, you'd need a VPN-based ad blocker app like Blokada or AdGuard for mobile (different from AdGuard Home).
No. From Amazon's perspective, it just looks like you're not visiting their websites. There's no way for them to detect this.
Want to add more Amazon domains to the list? Contributions are welcome!
- Fork this repository
- Add domains to
amazon.txtunder the appropriate category - Submit a pull request
Please ensure domains are valid and actually belong to Amazon.
GAFAM stands for Google, Amazon, Facebook, Apple, and Microsoft - the five largest tech companies. These companies are influential in the digital economy and are often criticized for:
- Collecting massive amounts of user data
- Monopolistic business practices
- Tax avoidance
- Political influence
This project is part of a broader effort to reduce dependence on these tech giants.
Testing the blocklist:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pytest tests/Generating blocklist formats:
python3 convert.py all # Generate all formats
python3 convert.py pihole # Pi-hole format only
python3 convert.py adguard # AdGuard format only
python3 convert.py unbound # Unbound format only
python3 convert.py categories # Category-specific lists
python3 convert.py duplicates # Check for duplicatesThis project is open source. Use it freely to protect your privacy and reduce your dependence on Amazon.
