MQS™
Dropbox

How to Export File Metadata from Dropbox

Dropbox has no built-in metadata export feature. Here are three approaches, from no-code to developer-level, to get your file inventory into a spreadsheet.

Built-in Export
No
Admin Helpful
For audit logs
Best Output
CSV
Time to First Export
15-45 min
i
The short answer

Dropbox does not provide a way to export file metadata as a spreadsheet from its web or desktop interface. Dropbox Business admins can export activity logs, but those are event-based (who did what when), not a file inventory. The methods below get you a complete file listing with metadata.

1

Local Sync + OS File Listing

EasyBest for: Non-technical users, quick one-time exportsOutput: CSV~15 minutes + sync time

The simplest approach requires no coding or API setup. Sync your Dropbox to your computer, then use a built-in OS command to list all files with their metadata. The trade-off: you get OS-level metadata (file name, size, dates) but miss Dropbox-specific fields like sharing info and content hashes.

1
Install the Dropbox desktop app if you haven't already. Let it sync the files you need (or use Selective Sync to choose specific folders).
2
Open a terminal (macOS/Linux) or PowerShell (Windows) and run the appropriate command below for your operating system.
3
Open the resulting CSV file in Excel, Google Sheets, or any spreadsheet application.

macOS / Linux:

bash
find ~/Dropbox -type f -exec stat -f '%N,%z,%m,%Sc' {} \; > dropbox_files.csv
# Creates: full path, size in bytes, modification timestamp, status change time

Windows PowerShell:

powershell
Get-ChildItem -Path "C:\Users\You\Dropbox" -Recurse -File |
    Select-Object FullName, Length, LastWriteTime, CreationTime, Extension |
    Export-Csv -Path "dropbox_files.csv" -NoTypeInformation
!
What you miss with local sync
OS-level metadata does not include Dropbox-specific fields: sharing permissions, content hash, server-modified timestamps, file IDs, or revision numbers. If you need those fields, use Method 2.
2

Python + Dropbox SDK

TechnicalBest for: Developers, IT admins, consultantsOutput: CSV or Excel~30-45 minutes

The Dropbox API is the most complete way to extract file metadata. The /2/files/list_folder endpoint with recursive=True returns every file in your Dropbox with rich metadata including content hashes, sharing info, and server timestamps.

1
Go to the Dropbox App Console at dropbox.com/developers/apps and create a new app. Choose Scoped access and Full Dropbox access. Generate an access token from the app settings page.
2
Install the Dropbox SDK: pip install dropbox
3
Run the script below. It lists all files recursively, handles pagination automatically, and writes the metadata to a CSV file.
python
import dropbox
import csv

dbx = dropbox.Dropbox("YOUR_ACCESS_TOKEN")

def list_all_files(path=""):
    """List all files recursively, handling pagination."""
    result = dbx.files_list_folder(path, recursive=True)
    entries = result.entries
    while result.has_more:
        result = dbx.files_list_folder_continue(result.cursor)
        entries.extend(result.entries)
    return entries

entries = list_all_files()

with open("dropbox_metadata.csv", "w", newline="") as f:
    writer = csv.writer(f)
    writer.writerow([
        "Name", "Path", "Size (bytes)", "Client Modified",
        "Server Modified", "Content Hash", "File ID", "Revision"
    ])
    for entry in entries:
        if isinstance(entry, dropbox.files.FileMetadata):
            writer.writerow([
                entry.name,
                entry.path_display,
                entry.size,
                entry.client_modified,
                entry.server_modified,
                entry.content_hash,
                entry.id,
                entry.rev,
            ])

print(f"Exported {sum(1 for e in entries if isinstance(e, dropbox.files.FileMetadata))} files")
Dropbox Business: team-wide exports
Dropbox Business admins can use team-scoped tokens with member file access to export metadata across all team members' accounts. Use the /2/team/members/list endpoint to iterate through members, then list each member's files. This is the fastest path for organization-wide metadata inventories.
3

Rclone CLI

ModerateBest for: IT admins, ops teams comfortable with command lineOutput: JSON → CSV~20-30 minutes

Rclone supports Dropbox as a remote and can list all files with metadata in a single command. No Python or SDK setup required — just install Rclone and authorize it.

1
Install Rclone from rclone.org/install.
2
Configure your Dropbox remote: rclone config. Choose "Dropbox" as the storage type and follow the OAuth authorization flow.
3
Run the export command:
bash
# List all files as JSON
rclone lsjson dropbox: --recursive > dropbox_files.json

# Convert to CSV
python3 -c "
import json, csv, sys
with open('dropbox_files.json') as f:
    data = json.load(f)
w = csv.DictWriter(sys.stdout,
    fieldnames=['Path','Name','Size','MimeType','ModTime','IsDir'])
w.writeheader()
for item in data:
    w.writerow(item)
" > dropbox_metadata.csv

What metadata fields can you export?

FieldLocal SyncDropbox SDKRclone
File name
Full path
File size
Modified date (client)
Modified date (server)
Content hash
File ID
Revision
Sharing info
Shared link detailsSeparate call
File extensionDerive from name
MIME type
Created dateOS onlyNot available
!
Known limitations
  • No "created date": Dropbox does not store a file creation timestamp in its data model. The client_modified field is the closest analog, but it reflects the modification time reported by the uploading client, not when the file was first created.
  • No native tags: Core Dropbox does not have a user-facing tagging system. File properties exist but are API-set and rarely populated by end users. Some newer Dropbox Business plans include tags, but API support for reading them may be limited.
  • Owner field: There is no first-class "owner" field on individual files. In team contexts, the namespace owner or the modified_by account ID is the closest proxy.

You have your metadata export.
Now score it.

Upload your CSV or Excel file to MQS and get a structural metadata health score out of 100 with dimension breakdowns and actionable diagnostics.

Get Your Free ReportSee How It Works

Exporting from another platform?

Google Drive
How to Export File Metadata from Google Drive
Box
How to Export File Metadata from Box
SharePoint
How to Export Document Metadata from SharePoint
Local Server
How to Export File Metadata from a Local Server
Amazon S3
How to Export Object Metadata from AWS S3
Adobe AEM
How to Export Asset Metadata from AEM
Salsify
How to Export Product Metadata from Salsify
Bynder
How to Export Asset Metadata from Bynder
Contentful
How to Export Content Metadata from Contentful
Airtable
How to Export Metadata from Airtable
Canto
How to Export Asset Metadata from Canto
Acquia DAM
How to Export Asset Metadata from Acquia DAM
Orange Logic
How to Export Asset Metadata from Orange Logic
PhotoShelter for Brands
How to Export Asset Metadata from PhotoShelter for Brands
PhotoShelter for Photographers
How to Export Image Metadata from PhotoShelter for Photographers