aria2 1.37.0 · free & open source

The fast, lightweight
download manager.

aria2 is a free, open-source command-line downloader for HTTP, FTP, SFTP, BitTorrent and Metalink. It splits one download across up to 16 connections per server, runs on Windows, macOS, Linux and Android, and needs only a few MiB of memory.

HTTP mirror FTP server 42 BitTorrent peers Metalink 0 GiB 1 GiB 2 GiB 3 GiB 4 GiB
Illustration, shown at 4× speed: one file, sixteen connections, four kinds of source.
Why it is fast

Many servers slow each connection down. aria2 opens more of them.

Plenty of servers cap how fast a single connection may go. wget and curl use one connection per file, so they get the cap and nothing more. aria2 splits the file and pulls the pieces in parallel. Drag the slider to see what that does.

8 Set it with aria2c -x 8 -s 8 URL
wget / curl-x 1
8 MB/s8 min 20 s
aria2-x 8
64 MB/s1 min 3 s

This model assumes the server caps each connection at 8 MB/s and your line tops out at 100 MB/s. If a server does not limit connections, one connection may already fill your line, and more connections will not help.

Install

Install aria2 in one line

aria2 is one small program. Pick your system, copy the command, then check that it works with aria2c --version.

Step-by-step guides with every install method, package versions and background setup:

winget install -e --id aria2.aria2

Or download the official ZIP from the GitHub releases page, extract aria2c.exe and add its folder to Path. It needs no extra DLLs.

Check the installaria2c --versionaria2 version 1.37.0
What it does

One small tool, every protocol you download with

HTTP(S), FTP, SFTP, BitTorrent, Metalink

Mix sources for one file: aria2 can fetch pieces from HTTP mirrors and BitTorrent peers at the same time, and check the result against a hash.

A full BitTorrent client

DHT, peer exchange, encryption, magnet links, web seeds, UDP trackers and choosing which files of a torrent to download.

Remote control over RPC

JSON-RPC over HTTP and WebSocket, plus XML-RPC: 36 methods to add, pause and watch downloads from a WebUI, a script or another device.

4–9 MiB of memory

The official figures: about 4 MiB for HTTP/FTP, about 9 MiB for BitTorrent. In our HTTP test aria2 itself used 4.6 MiB (17 MiB counting shared system libraries).

aria2 vs wget vs curl

aria2 vs wget vs curl: which is faster?

We downloaded the same 50 MB file with all three from a server that limits each connection to 2 MiB/s, a common setup on mirrors and file hosts. Same machine, same line, same minute.

Time to download 50 MB (lower is faster)Server limit 2 MiB/s per connection, 24 MiB/s line. Measured 2026-10-27.
Show as a table
ToolCommandSeconds
wget24.0wget URL · 24.0 s
curl24.0curl -O URL · 24.0 s
aria2, 1 connection24.1aria2c URL · 24.1 s
aria2 -x16 -s1612.2aria2c -x16 -s16 URL · 12.2 s
aria2 -x16 -s16 -k1M2.3aria2c -x16 -s16 -k1M URL · 2.3 s

With one connection, all three take 24 seconds: the server limit decides. aria2 with 16 connections took 12.2 seconds, because the default -k 20M splits a 50 MB file into only 2 pieces. With -k1M it used all 16 and finished in 2.3 seconds, ten times faster. On a server without a per-connection limit, the three finished within a fraction of a second of each other.

What each tool can do

aria2wgetcurl
One file over many connections Yes No No
One file from several mirrors at once Yes No No
BitTorrent and magnet links Yes No No
Metalink Yes Some builds No
Resume an interrupted download Yes Yes Yes
Remote control (RPC) Yes No No
Mirror a whole website No Yes No
Upload, 25+ protocols, APIs No No Yes
Preinstalled on most Linux systems No Yes Yes

Pick aria2 for big files, slow servers, torrents and a download server. Pick wget to mirror a site, curl to talk to APIs. They work well side by side.

aria2 vs wget vs curl →

Cheatsheet

Quick command cheatsheet

The eight commands people use most. Each one works as shown on aria2 1.37.0.

01Basic download

aria2c https://example.com/file.iso

Saves the file in the current folder.

02Maximum speed (16 connections)

aria2c -x16 -s16 -k1M https://example.com/file.iso

-k1M lets aria2 use all 16 connections on files from 16 MB up.

03Download a torrent

aria2c ubuntu.torrent

Seeds afterwards until the share ratio reaches 1.0.

04Download a magnet link

aria2c "magnet:?xt=urn:btih:…"

Quotes keep the shell away from the & characters.

05Resume an interrupted download

aria2c -c https://example.com/file.iso

Needs the .aria2 file next to the partial file.

06Limit the download speed

aria2c --max-overall-download-limit=2M https://example.com/file.iso

K and M are allowed; G and decimals are not.

07Download a list of URLs

aria2c -i urls.txt -j 3

One URL per line; -j sets how many run at once.

08Choose folder and file name

aria2c -d ~/Downloads -o new-name.iso https://example.com/file.iso

-o is always relative to -d.

Recipes

How to integrate aria2 with yt-dlp, Docker, Python & more

aria2 is a building block. These are the setups people build with it most, each with a tested guide where we have one.

Accelerate yt-dlp downloads

yt-dlp --downloader aria2c hands plain HTTP files to aria2 with 16 connections. HLS and DASH streams stay with yt-dlp.

yt-dlp guide →

Docker, Synology and QNAP NAS

A tested container with RPC, a session file that survives restarts and a hook that moves finished files.

Docker and NAS guide →

OpenWrt router and AriaNg

OpenWrt's package feed has aria2 and AriaNg, so a router with USB storage becomes a small download box.

About AriaNg →

Raspberry Pi download server

apt install aria2 on Raspberry Pi OS, then run it as a systemd service with RPC on and a WebUI on top.

Run aria2 as a service →

Google Drive and cloud links

Cloud drives serve big files only to a logged-in browser. Hand the download over from the browser so the cookies come along.

Browser guide →

HTTP proxy routing

--all-proxy sends every download through one HTTP proxy, --no-proxy lists exceptions. aria2 also reads http_proxy and friends.

Proxies and network →

WebSocket and JSON-RPC remote control

Add, pause and watch downloads from Python, Node.js or any other language. Over WebSocket aria2 pushes an event when a download finishes.

JSON-RPC chapter →

Browser download takeover

Aria2 Explorer and Aria2 Integration send every browser download to aria2, cookies included.

Browser guide →

BitTorrent swarms and speed

A torrent with no peers often only needs more trackers. Our list is checked and ready to paste into bt-tracker.

Tracker list →

Inspect a .aria2 control file

See which pieces of a broken download are done, right in the browser, and learn when it is safe to resume.

.aria2 file inspector →
FAQ

Frequently asked questions

What is aria2?
aria2 is a free, open-source command-line download manager written in C++. It downloads over HTTP, HTTPS, FTP, SFTP, BitTorrent and Metalink, can use several connections and several sources for one file, and can run as a server that WebUIs, apps and scripts control over JSON-RPC.
How to install aria2 on Linux?
Use your package manager: sudo apt install aria2 on Debian and Ubuntu, sudo dnf install aria2 on Fedora, sudo pacman -S aria2 on Arch. On Android, install Termux and run pkg install aria2. Check with aria2c --version.
How to install aria2 on Windows?
Run winget install -e --id aria2.aria2 in a terminal. Or download the official ZIP from GitHub releases, extract aria2c.exe, add its folder to Path and open a new terminal. Check with aria2c --version.
How to install aria2 on macOS?
Install Homebrew from brew.sh, then run brew install aria2. Check with aria2c --version.
How to maximize aria2 download speed?
Use aria2c -x16 -s16 -k1M URL. -x16 allows 16 connections to one server, -s16 splits the file 16 ways, and -k1M lets aria2 split even mid-sized files that finely. In our test this cut a 50 MB download from 24 seconds to 2.3. It only helps when the server limits each connection.
How to use aria2 with yt-dlp?
Add --downloader aria2c to your yt-dlp command (older versions: --external-downloader aria2c). yt-dlp then hands plain HTTP and FTP files to aria2 with 16 connections. HLS and DASH streams are still downloaded by yt-dlp itself or ffmpeg.
Is aria2 safe to use?
Yes. aria2 is open-source software under the GPL, developed in public since 2006, with no ads, telemetry or bundled software. Install it from your package manager, winget, Homebrew or the official GitHub releases. If you run it as an RPC server, always set --rpc-secret.
Is aria2 faster than traditional tools like wget and curl?
When the server limits each connection, yes, by a lot: in our test wget and curl needed 24 seconds for 50 MB and aria2 with 16 connections 2.3 seconds. When one connection already fills your line, all three are about equally fast.
How to use aria2 with a proxy?
Pass --all-proxy=http://host:port (add --all-proxy-user and --all-proxy-passwd if needed). aria2 also reads the http_proxy, https_proxy, all_proxy and no_proxy environment variables. aria2 supports HTTP proxies only; for SOCKS, run a local HTTP-to-SOCKS bridge.
Can aria2 download YouTube videos?
Not by itself: aria2 needs a direct file URL, and YouTube does not give you one. yt-dlp finds the video URLs and can pass the download to aria2 with --downloader aria2c.
How to run aria2 as a daemon / background service?
Start it with aria2c --enable-rpc --rpc-secret=YOUR_SECRET -D, or run it as a systemd service or Docker container so it starts on boot. A daemon works from /, so use absolute paths for -d and the session file.
Is aria2 better than IDM (Internet Download Manager)?
They suit different people. IDM is a paid Windows program with a built-in window and browser integration. aria2 is free, open source and cross-platform, and also downloads torrents, but it is a command-line tool: add a WebUI or a browser extension to get a similar experience. Both speed up downloads with multiple connections.
How to use aria2 with Chrome or Firefox?
Install a browser extension that sends downloads to aria2 over RPC: Aria2 Explorer for Chrome and Edge, or Aria2 Integration for Firefox, Chrome and Edge. Run aria2 with RPC enabled and enter the same secret in the extension.
Does aria2 support resuming downloads after a PC restart?
Yes. Run the same command again with -c and aria2 continues from its .aria2 control file. For a download server, set --save-session and --input-file to the same file so the whole queue comes back. In our tests even a forced kill lost at most the last 60 seconds of progress.
How to download Google Drive files with aria2?
Large Google Drive files are only served to a logged-in browser after a confirmation page. The reliable way is to start the download in the browser and let an aria2 extension hand it over with the cookies. Shared links that need no login can be downloaded directly.
What is the maximum download speed of aria2?
aria2 has no built-in limit. The speed depends on your line and the server. Many servers cap each connection, which is where aria2's up to 16 connections per server help; adding mirrors with more URLs adds more servers.
.aria2 files

What is an .aria2 file?

Next to every unfinished download, aria2 keeps a small binary control file with the same name plus .aria2. It records the file size and which pieces are already downloaded, so aria2 can continue where it stopped. When the download completes, aria2 deletes it.

  • Keep it: without it, a multi-connection download cannot be resumed safely.
  • Never delete it and resume with -c: in our test that silently produced a damaged file.
  • It is not a virus and not a file you open: it is only for aria2.

Inspect a .aria2 file and recover a download →