More connections
A browser fetches a file over one connection. When a server limits each connection, aria2's 16 add up: on our test server that was 10.6 times faster.
A browser extension catches each download and hands it to aria2 over JSON-RPC, together with the cookies that prove you are logged in. aria2 then fetches the file with several connections, resumes after interruptions and keeps going when you close the browser.
One command, or the config generator for a permanent setup.
Aria2 Explorer for Chrome and Edge, Aria2 Integration for Firefox (and also Chrome and Edge).
http://localhost:6800/jsonrpc and the same secret you gave aria2. Test it below.
A browser fetches a file over one connection. When a server limits each connection, aria2's 16 add up: on our test server that was 10.6 times faster.
aria2 tracks progress piece by piece in its .aria2 file, so a dropped connection or a reboot does not mean starting over.
Downloads run in aria2, not in the browser. Close the browser, or send them to a NAS that runs around the clock.
We checked each project's repository and manifest. Manifest V3 matters: current Chrome no longer runs Manifest V2 extensions.
| Extension | Browsers | Manifest | Notes |
|---|---|---|---|
| Aria2 Explorer | Chrome, Edge | MV3 | Built-in AriaNg panel, cookie forwarding, several aria2 servers, filters by size, site and file type. Hold Alt while clicking to let the browser download instead. |
| Aria2 Integration | Firefox, Chrome, Edge | MV3 | The choice for Firefox. Can be configured by enterprise policy. |
| Camtd | Chrome | MV2 | Last changed in 2018. As a Manifest V2 extension it does not run on current Chrome; use one of the others. |
We did not install the extensions; the table comes from their source repositories. Settings screens change between versions, but every extension asks for the same things listed below.
The extension does not download anything itself. It replaces the browser's download with one JSON-RPC call to aria2.
We set up a server that only serves a file to a logged-in browser (a session cookie and a Referer), then sent the same link to aria2 twice over RPC.
✗ Without the browser's headers
{
"jsonrpc": "2.0",
"id": 1,
"method": "aria2.addUri",
"params": [
"token:YOUR_SECRET",
[
"https://example.com/protected.bin"
]
]
}
"errorCode":"22","errorMessage":"The response status is not successful. status=403","status":"error"
✓ With the Cookie and Referer an extension forwards
{
"jsonrpc": "2.0",
"id": 2,
"method": "aria2.addUri",
"params": [
"token:YOUR_SECRET",
[
"https://example.com/protected.bin"
],
{
"header": [
"Cookie: session=abc123",
"Referer: https://example.com/page"
],
"out": "from-browser.bin"
}
]
}
"errorCode":"0","status":"complete"
aria2 itself has no idea you are logged in. The extension passes your session along in the header option, and that is what turns the 403 into a download.
Run this once, with your own secret instead of YOUR_SECRET:
aria2c --enable-rpc --rpc-allow-origin-all=true --rpc-secret=YOUR_SECRET --daemon=true
This accepts connections from this computer only, which is all a browser extension on the same computer needs. To keep it running after reboots, use the config generator (remote control on) and start aria2 at login, or the Docker guide.
| Setting | Value |
|---|---|
| RPC address | http://localhost:6800/jsonrpc (some extensions ask for host, port and path separately) |
| Secret / token | Exactly the value of --rpc-secret |
| Capture downloads | On |
| Minimum file size | 10 to 50 MB, so images and small PDFs stay in the browser |
| Forward cookies | On, for anything behind a login |
| Download folder | Leave empty to use aria2's own dir |
Check that this browser can reach aria2 before you look at the extension. This sends aria2.getVersion to the address you enter, and nowhere else.
Start aria2 there with --rpc-listen-all=true and a secret, and enter http://NAS-ADDRESS:6800/jsonrpc in the extension.
Do not forward port 6800. Use a VPN, or an HTTPS reverse proxy and an https:// address; the Docker guide has a tested nginx configuration.
The site needs your login. Turn on cookie forwarding in the extension; it sends the cookies and the Referer with the download, as in our test above. Links that expire quickly may also need to be sent right after you click them.
Test the address with the tester above. "Unauthorized" means a wrong secret. No answer means aria2 is not running with --enable-rpc --rpc-allow-origin-all=true, or the host or port is wrong.
Raise the extension's minimum file size, or exclude the site. In Aria2 Explorer, hold Alt while clicking a link to let the browser handle that one download.
Downloads that the page generates itself (blob: and data: addresses) have no URL that aria2 could fetch, so extensions leave them to the browser. For video sites use yt-dlp with aria2.
Two capturing extensions are installed, or the extension is set to keep the browser's copy. Keep one extension and let it cancel the browser download.
Yes: Aria2 Integration is on Firefox Add-ons, and also for Chrome and Edge. Aria2 Explorer is for Chrome and Edge only.
Keep aria2 on this computer or your home network, and always set --rpc-secret. --rpc-allow-origin-all=true lets web pages call aria2, so the secret is what stops a random site from adding downloads.
Yes. Point the extension at the NAS's aria2 (through a VPN or an HTTPS proxy when you are away from home). The download then runs on the NAS while the laptop sleeps.
Motrix 1.x exposed aria2's own RPC, so aria2 extensions could send downloads to it. Motrix 2 (October 2026) still uses an aria2 fork inside, but apps talk to it over its own protocol, MDXP, with its own browser extension; use that one with Motrix 2.