About this tool
What it does
This tool converts any Amazon product link into a clean, canonical DP/ASIN link and appends an affiliate tracking tag automatically, updating live as the URL or tag changes.
- Accepts any product page URL across multiple Amazon marketplaces.
- Normalizes to canonical format: https://amazon.TLD/dp/ASIN/
- Applies the chosen affiliate tag using the tag query parameter.
- Saves multiple tags locally and remembers the active tag.
- Offers recent link actions and JSON backup/restore.
How it works
When a URL is pasted, the app parses it, extracts the ASIN from routes like /dp/ASIN or /gp/product/ASIN, rebuilds a clean canonical URL on the selected marketplace host, and appends the affiliate tag as a query parameter.
- ASIN detection: scans the path for an alphanumeric identifier in known routes.
- Canonicalization: reconstructs URL as https://amazon.TLD/dp/ASIN/ to remove clutter.
- Tag injection: adds ?tag=yourtag-21 via URLSearchParams.set.
- Local state: persists tags, active tag, and a small history in browser storage.
Notes
- Short links (amzn.to) should be expanded before pasting here.
- History is capped at 5 items to keep the UI clean.
- Export/Import JSON lets settings travel between browsers without any server.