Your exports, photos or logs are organized in folders in Azure Blob Storage, and now you need the whole folder on your laptop or a partner needs it. The Azure portal shows the files but offers no button to download a folder. This guide explains how to download an entire folder from Azure Blob Storage, or a full container, with or without a command line.
Short answer: To download a folder from Azure Blob Storage, use AzCopy (
azcopy copy '<folder-url>' '<local-path>' --recursive), the Azure CLI (az storage blob download-batchwith--pattern "folder/*"), or Azure Storage Explorer, which downloads a selected folder from its toolbar. The Azure portal works blob by blob. For people without Azure tools, a web-based explorer can download several files or folders as a ZIP from the browser. Check the access tier and egress costs before downloading large volumes.
Why "download folder" is not obvious in Azure Blob Storage
Azure Blob Storage has no real folders. A blob named reports/2026/march.pdf is one object; tools show reports/ and 2026/ as folders by splitting the name on /. Downloading a folder therefore means listing every blob that starts with a prefix and downloading each one, then recreating the folder structure locally. Each tool below does that for you. Accounts with a hierarchical namespace (Data Lake Storage) have real directories, and the same tools work with them.
Option 1: AzCopy, the most reliable for large folders
AzCopy is the free command-line tool from Microsoft for bulk transfers.
- Sign in with
azcopy login, or append a SAS token with Read and List permissions to the URL. - Download a folder:
azcopy copy 'https://<account>.blob.core.windows.net/<container>/reports' 'C:\downloads' --recursiveThis createsC:\downloads\reportswith all its blobs. - To download a whole container, point to the container URL instead.
- To download only some files, add
--include-pattern '*.pdf', or--include-after '2026-01-01T00:00:00Z'for recent files.
All options are in Download blobs with AzCopy. AzCopy also verifies the MD5 hash when the blob has one, and an interrupted job can be resumed.
Option 2: Azure CLI
If you already use the Azure CLI, az storage blob download-batch downloads blobs recursively:
az storage blob download-batch -d . -s <container> --pattern "reports/*" --account-name <account> --auth-mode login
The destination folder must exist, and --pattern filters by name, where * also matches the / separator. See the az storage blob reference. For very large volumes, AzCopy is usually faster.
Option 3: Azure Storage Explorer
The desktop application for Windows, macOS and Linux lets you select a folder (virtual directory) or several blobs in a container and choose Download in the toolbar; see Manage Azure Blob Storage resources with Storage Explorer. It is the simplest graphical option for people who can install it and hold an Azure role, a SAS or a key.
Option 4: download several files from a browser
In the browser, the Azure portal downloads blobs one at a time. When the people who need the files are business users, partners or customers, a web-based explorer for Azure Blob Storage is often more practical: they select files or folders and receive a single ZIP, with nothing to install and no Azure role.
Check these before downloading large folders
| Check | Why it matters |
|---|---|
| Access tier | Archive blobs are offline: they must be rehydrated to Hot, Cool or Cold first, which can take hours. See Blob rehydration from the Archive tier. |
| Retrieval fees | Reading from Cool, Cold and Archive is billed per GB on top of operations; see Azure Blob Storage pricing. |
| Egress | Data leaving Azure is billed beyond a free monthly allowance; see Bandwidth pricing. Downloading 2 TB of archives is not free. |
| Permissions | Reading with Microsoft Entra ID needs Storage Blob Data Reader or higher. A SAS needs Read and List. |
| Network | A storage firewall that only allows selected networks blocks downloads from elsewhere. |
| Local disk | Check free space and path length limits on Windows for deep folder trees. |
When AzCopy is the right choice
For hundreds of gigabytes, scheduled exports, migrations or scripts, use AzCopy: it is free, parallel, filterable and resumable. Azure Storage Explorer covers the same need for technical users who prefer a graphical interface. A browser ZIP is for people who need a set of files now, not for bulk data movement.
Blob Web Explorer: download folders as a ZIP from the browser
Blob Web Explorer, the modern web explorer for Azure Blob Storage, lets people get the files they need without the Azure portal or a command line:
- Select several files or folders and download them as one ZIP, from any browser.
- Find the files first: search by name or path across containers, with previews of images, PDF, text, audio and video.
- No Azure role or key for recipients: the container owner shares it by email with Read access and an end date.
- Downloads attributed to each person in the activity log, with CSV export.
Files stay in your containers. For one file at a time, see how to view Azure Blob Storage files in a browser; for the other direction, see uploading large files to Azure Blob Storage.
Bottom line
To download a folder from Azure Blob Storage, use AzCopy with --recursive for volume and reliability, the Azure CLI if it is already in your toolbox, or Storage Explorer for a graphical option. For business users and partners who just need a set of files, a ZIP download from a web explorer avoids handing out tools, roles or keys.
Start free with Blob Web Explorer and download your first folder as a ZIP.
Frequently asked questions
Can I download a folder from Azure Blob Storage in the Azure portal?
Not as a whole. The Azure portal is designed for individual blobs. To download a virtual folder or a container in one operation, use AzCopy, the Azure CLI command az storage blob download-batch, Azure Storage Explorer, or a web-based explorer that packages several files as a ZIP.
What is the AzCopy command to download a folder from Azure Blob Storage?
Use azcopy copy with the folder URL, a local destination and the --recursive flag, for example azcopy copy 'https://account.blob.core.windows.net/container/folder' 'C:\downloads' --recursive. It creates a local folder with the same name that contains all the blobs.
Why can't I download some files from a folder?
Blobs in the Archive tier are offline and must be rehydrated to an online tier before they can be read, which can take hours. Other common causes are a missing data role such as Storage Blob Data Reader, an expired SAS token, or a storage firewall that blocks your network.
Does downloading data from Azure Blob Storage cost money?
Yes. Read operations are billed, data retrieval is billed for the Cool, Cold and Archive tiers, and outbound data transfer from Azure is billed beyond a free monthly allowance. Check the Azure Blob Storage and bandwidth pricing pages for your region before downloading large volumes.
