Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Sources to Folders

Sources to Folders by XAOC

Instantly download all JavaScript and CSS files from any website into a structured ZIP archive. Fetches in extension background (bypasses CORS). Optional source maps. Domain filtering, original paths preserved. Developer-friendly.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Reconstruct the source code structure of any website locally.

This developer tool analyzes the current web page to extract all loaded scripts and stylesheets, organizing them into a ZIP folder that mirrors the original server directory structure.

Key Features:
* Structured Export: Maintains original file paths (e.g., cdn.example.com/assets/js/app.js) inside the ZIP archive.
* CORS Bypass: Fetches run in the extension background, so cross-origin resources (CDNs) are downloaded correctly.
* Source Maps: Optionally detects and downloads .map files referenced in JS/CSS.
* Smart Filtering:
* Domain Control: Include or exclude domains via the Options page.
* File Types: Choose to export only JS, only CSS, or both.
* Zero Config: Right-click the page and select "Export Sources to ZIP".

How to use:
1. Navigate to the website you want to analyze.
2. Right-click anywhere on the page (or click the extension icon).
3. Select "Export Sources to ZIP".
4. The extension fetches resources and prompts a download.

Privacy:
This extension runs entirely locally. It fetches public resources from the website you visit only to create the ZIP. No data is sent to third parties.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Download files and read and modify the browser’s download history
  • Display notifications to you
  • Access your data for all websites

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support Email
Version
1.0.0
Size
74.36 KB
Last updated
5 days ago (Jan 29, 2026)
Related Categories
  • Web Development
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.