Folder to CSV
Turn a local folder into a CSV of relative paths and file sizes.
- Free
- Works Offline
- No Uploads
How to Export Folder Files to CSV
- Open the HTML, review Security Check, then select Continue.
- Choose or drop one local folder, or select Open Sample.
- Review the sorted relative paths and sizes. Zero means an empty file. A blank exported size means the browser did not provide one.
- Use Spreadsheet-safe to prefix formula-like paths with an apostrophe. Raw Interchange writes literal paths and is intended for text or programmatic import.
- Select Build CSV and then Download CSV. When importing into a spreadsheet, specify UTF-8, comma delimiter and the relative_path column as Text.
List Relative Paths and Exact Byte Sizes
- Choose or drop a local folder, or open the sample.
- Choose Spreadsheet-safe or Raw Interchange under Path Handling.
- Build the CSV and download the complete file listing.
Formats and Compatibility
| Input | The local folder files to CSV workflow starts with one folder. The browser provides its file paths and available byte sizes. |
|---|---|
| Output | Use the free folder files to CSV tool to export directory listing CSV with one row per file, sorted by the original relative path. Folder names appear only as path segments. Unavailable sizes are blank. |
| Browser | A modern browser with local file support. |
| Scope | One selected folder. CSV contains one row per file with relative_path and size_bytes. Unavailable sizes are blank. Spreadsheet-safe mode adds a text prefix to formula-like paths. |
| Operating Systems |
Local Processing Without Uploads
Convert folder files to CSV without uploading. This browser-based tool reads local file metadata with no upload.
Select Open Sample to see the workflow with the included example.
Formats and Compatibility
Export folder files to CSV in browser mode with comma-separated UTF-8 fields and CRLF record endings. Spreadsheet-safe mode includes a UTF-8 BOM and prefixes formula-like paths with an apostrophe. Raw Interchange preserves the original path text with UTF-8 and no BOM.
Choose How Path Text Is Written
The spelling of each path stays visible in the preview. The spreadsheet-safe export adds an apostrophe to formula-like paths. For exact text in spreadsheet imports, choose UTF-8, comma, and Text for the relative_path column.
Frequently Asked Questions
Can I export folder files to CSV offline?
Yes. Extract the Tool ZIP and open FolderToCSV.html in a compatible browser.
Where is the folder files to CSV download?
Choose Download Tool ZIP to save the offline tool. Inside it, choose Download CSV to save your folder listing.
What if my browser has no folder picker?
Try dropping one folder on a browser with folder drag and drop. Where available, the read-only directory picker is another way to select a folder.
What is the difference between spreadsheet-safe and raw CSV?
Spreadsheet-safe includes a UTF-8 BOM and adds an apostrophe to formula-like paths. Raw Interchange uses UTF-8 without a BOM and preserves the path text. For spreadsheet import, keep the relative_path column as Text.
How much can I export?
The tool accepts paths with up to 128 components and 4,096 UTF-8 bytes each, an 8 MiB relative-path index, and up to 16 MiB of CSV output. The browser controls which files and metadata it can share.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.