A Chrome extension for saving a webpage—or a selected component—as a downloadable HTML snapshot.
Features · Get started · How to use · Privacy · Development
WebCut captures the rendered appearance of a webpage or a component you select, then saves it as an HTML file.
Capture a full page, select a specific section, preview the result, and download it. Saved captures stay in Chrome's local storage. WebCut has no backend and does not upload your captures.
WebCut saves a rendered snapshot. It does not export a website's original source code or preserve the page's interactive behavior.
| Capture | Manage | Local by design |
|---|---|---|
| Capture a full page with overlapping scroll steps | Search captures by title or URL | Store captures in Chrome local storage |
| Select a component by hovering and navigating the page | Organize captures into folders | No account, backend, or upload flow |
| Collect accessible CSS and supported media | Preview, download, or delete captures | Show previews in a sandboxed frame |
More included:
- Inline supported images, canvas content, fonts, and CSS resources within configured limits.
- Remove scripts and inline event handlers from saved HTML.
- Save an optional screenshot with each capture.
- Open saved items in Chrome's side panel or in-page drawer.
- Browse recent captures grouped by Today, Yesterday, and Earlier.
WebCut runs in Chrome as an unpacked extension.
- Clone or download this repository.
- In Chrome, open
chrome://extensions. - Turn on Developer mode.
- Click Load unpacked.
- Select the
webcut/folder in this repository. - Open a regular webpage and click the WebCut extension icon.
No build step is required to load the extension.
- Open the webpage you want to capture.
- Click the WebCut extension icon.
- Choose Clone Full Page.
- Preview the snapshot, then choose Download HTML to save it.
- Choose Clone Component.
- Hover over the page to target an element.
- Use Arrow Up or Arrow Down to change the selection.
- Click the component or press Enter to capture it.
- Preview or download the snapshot.
Open Saved Items from the popup or toolbar to search, preview, download, delete, and organize captures.
Folders can be created, renamed, and deleted. Deleting a folder keeps the captures inside it.
- Captures, screenshots, settings, and folders are stored in
chrome.storage.local. - WebCut does not upload captures to a server.
- During capture, WebCut may fetch HTTP or HTTPS resources found on the page to include supported assets. Requests omit credentials and use size and timeout limits.
- The optional
hostUrlsetting is stored, but is not connected to a service.
WebCut creates a static snapshot, not a working copy of the original website. Page scripts, event handlers, and interactive behavior are not preserved.
Some content may be missing or look different when a site uses protected or cross-origin resources, unusual browser APIs, cross-origin frames, or browser-specific rendering. Protected media may remain linked to its original URL, and some stylesheets may not be available to capture.
Chrome browser pages and Chrome Web Store pages cannot be captured.
Before getting started, ensure you have the following installed:
- Node.js
24.20.0 - npm, included with Node.js
- Git, to clone the repository
Note: The repository pins Node.js version
24.20.0in.nvmrc,package.json, and the Dockerfile.
-
Clone the repository and navigate to the project directory:
git clone <repository-url> cd <repository-directory>
-
Install dependencies:
npm ci
WebCut is a Chrome extension, so it runs by loading the repository's webcut/ directory as an unpacked extension:
- Open
chrome://extensionsin Chrome. - Enable Developer mode.
- Click Load unpacked.
- Select the
webcut/directory.
There is no local web server or separate application process to start.
Run the test suite to verify that the project is working correctly:
npm testCheck the JavaScript files for syntax errors:
npm run checkThe Dockerfile uses the pinned Node.js runtime, installs from package-lock.json, checks JavaScript syntax during the image build, and runs the test suite when the container starts:
docker build -t webcut .
docker run --rm webcut- The project has no runtime or development npm dependencies.
- Tests run directly with Node.js and do not require Google Chrome.
- Use the Node.js version specified in
.nvmrcfor the most consistent results.
WebCut requests the following Chrome extension permissions to provide its capture, storage, and preview functionality.
| Permission | Purpose |
|---|---|
storage |
Stores captures, screenshots, settings, and folders locally. |
unlimitedStorage |
Supports larger collections of locally saved captures. |
sidePanel |
Opens and displays saved items in Chrome's side panel. |
scripting |
Injects or executes scripts when required to start capture on a tab. |
activeTab |
Provides access to the tab selected by the user. |
<all_urls> |
Allows the extension to work across webpages and retrieve supported resources during capture. |
Privacy note: These permissions enable the extension's functionality. Actual data handling depends on the implementation of the capture and storage features.
.
├── scripts/
│ ├── run-tests.js # Node.js test runner
│ └── check-syntax.js # JavaScript syntax checker
└── webcut/
├── shared/ # Shared capture, selection, and UI logic
├── test/ # Node.js tests and manual capture fixtures
├── background.js # Messaging, storage, resource fetching, and screenshots
├── content.js # Toolbar, selection, capture, and in-page drawer
├── popup.* # Extension popup interface
├── sidepanel.* # Saved captures and folder management
└── preview-frame.* # Sandboxed HTML preview
scripts/— Contains utilities for running tests and checking JavaScript syntax.webcut/shared/— Holds reusable logic shared across capture and user-interface components.webcut/test/— Contains tests and fixtures for validating capture functionality.webcut/background.js— Handles background operations, including messaging, storage, resource fetching, and screenshots.webcut/content.js— Implements the in-page toolbar, selection tools, capture functionality, and drawer.webcut/popup.*— Contains the extension popup files.webcut/sidepanel.*— Contains the saved-capture interface and folder management files.webcut/preview-frame.*— Provides the sandboxed HTML preview interface.
WebCut is released under the MIT License.
You are free to use, modify, and distribute this software in accordance with the terms of the MIT License.