SingleFile

System UtilitiesAGPL-3.0

Browser extension that saves a complete web page as one HTML file.

Latest v1.37.0 · by Gildas LormeauWritten in JavaScriptWebsitegildas-lormeau/SingleFileRSS

Release activity

Release activity — 20 releases across 17 days since Sep 22, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before Sep 22, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
Sunday1 release on Sep 27, 20261 release on Oct 4, 2026No releases on Oct 11, 20261 release on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 20262 releases on Oct 19, 2026No releases on Oct 26, 20261 release on Nov 2, 2026No releases on Nov 9, 2026No releases on Nov 16, 2026
Tuesday1 release on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 20263 releases on Oct 13, 2026No releases on Oct 20, 20261 release on Oct 27, 2026No releases on Nov 3, 20261 release on Nov 10, 2026
Wednesday1 release on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 20261 release on Oct 28, 20261 release on Nov 4, 2026No releases on Nov 11, 2026
Thursday1 release on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Sep 25, 20261 release on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 20261 release on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Sep 26, 2026No releases on Oct 3, 20261 release on Oct 10, 20261 release on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

20 releases since Sep 22, 2026, busiest day 3

Changelog

v1.37.0

Latest
Added 2
  • Added the %switch<value|case1|result1|case2|result2|...|default> function in the filename template, which returns the result matching the value or the default when no case matches
  • Documented the %switch function on the help page
Changed 3
  • The script embedded in annotated pages to display, move, resize and collapse notes is now built from single-file-core (single-file-notes.js) and minified instead of being generated from the editor source
  • Pages using many web fonts are processed faster when the option to remove alternative fonts to the ones displayed is enabled, by caching the parsed src lists and font details
  • Updated single-file-core to 1.12.0
Fixed 13
  • A page auto-saved on unload from a closing tab is saved again instead of failing and staying in the pending saves with the processing status
  • The first auto-save of a browser session is removed from the pending saves once the page has been saved, since task id 0 was misread as no task
  • Auto-save entries of pages that left without sending their content are removed when the tab is closed, displays another page, or does not answer
  • The unload listener of the auto-save is registered as soon as the options are received instead of on DOMContentLoaded
  • A page left before being saved is no longer lost when auto-save after page load or on page unload and auto-save on tab removed are both enabled
  • Closing the tab no longer saves the page twice when auto-save on page unload and auto-save on tab removed are both enabled

From SingleFile

Changes
  • Added the %switch<value|case1|result1|case2|result2|...|default> function in the filename template: it compares value with each case and returns the matching result, or default when no case matches, e.g. %switch<{url-hostname-domain}|bbc|BBC|imdb|IMDb|%capitalize<{url-hostname-domain}>>; the help page documents it (#2052)
  • The script embedded in annotated pages to display, move, resize and collapse the notes is now built from single-file-core (single-file-notes.js) and minified, instead of being generated from the source of the editor
  • Pages using many web fonts are processed faster when the option "remove alternative fonts to the ones displayed" is enabled: the parsed src lists and the font details are cached (gildas-lormeau/single-file-core#12)
Fixes
  • A page auto-saved on unload from a tab being closed is saved again: the content was received without the tab of the sender, the save failed and its entry stayed in the pending saves with the "processing" status (#2053)
  • The first auto-save of a browser session is removed from the pending saves when the page has been saved (the task id 0 was read as "no task"), and the auto-save entries of pages that went away without sending their content are removed when the tab is closed, displays another page, or does not answer (#2053)
  • The unload listener of the auto-save is registered as soon as the options are received instead of on DOMContentLoaded
  • With "auto-save after page load or on page unload" and "auto-save on tab removed" both enabled, a page left before being saved is no longer lost; with "auto-save on page unload" and "auto-save on tab removed" both enabled, closing the tab no longer saves the page twice
  • With "auto-save on tab discard" enabled, hiding a tab no longer leaves the data-single-file-* marker attributes of the capture in the page, the capture kept for a hidden tab is released when the tab is closed, and a tab discarded before its capture is received is saved
  • In pages saved with notes, releasing the mouse after resizing or moving a note no longer leaves the note following the pointer: the embedded script referenced a function that only exists in the editor (#2054, regression from 2023; the pages already saved must be opened in the editor and saved again to get the fixed script)
  • In the editor, removing the selected note no longer keeps it as the selected note, adding a note selects it, and the anchor of a note is no longer looked for in the notes or in the masks
  • With "Deferred content > keep the zoom level", the sizes and positions reported to the page are scaled like the page, so pages that lay out their content from them are saved whole (#1919)
  • The option "skip the save if the file exists" only applies to the files saved in the download folder: saves to the annotation editor, the clipboard and the companion are no longer cancelled by a file of the same name in the download history, and a skipped save no longer opens the saved page nor requests a proof of existence
  • Updated single-file-core to 1.12.0
View originalPermalink
How v1.37.0 went

v1.36.0

Added 1
  • Added the option "Deferred content > keep the emulated screen size during the capture" (loadDeferredContentKeepEmulatedScreenSize, off by default) that keeps the emulated screen size until the page has been saved, so pages unmounting content scrolled out of view are saved whole, at the cost of saving elements sized from the screen height at the emulated size
Changed 4
  • The tooltips of the two cut buttons of the annotation editor now describe their actions: "Remove the element under the mouse (red outline)" and "Keep the element under the mouse and remove everything else (green outline)"
  • The new option label and the tooltips are translated in all the languages
  • The default Accept header of image requests starts with image/jxl, like browsers supporting JPEG XL
  • Updated single-file-core to 1.10.1
Fixed 4
  • Saving a selection on pages laid out with CSS grids using auto rows no longer produces an empty page; elements located before the selection are hidden with visibility hidden and an empty box instead of display none, so the selected content keeps its place in the layout
  • SVG sprite fragments referenced from CSS url() values and from image attributes are cut out of the sprite and saved on their own, instead of saving the whole sprite in their place and displaying a grid of every icon
  • The sandbox attribute of saved frames no longer carries the allow-presentation token, which Safari rejects with a console warning, nor a duplicated allow-popups token
  • The xmlns attribute of extracted sprite fragments is declared in the XMLNS namespace, so an XML serializer accepts it
View originalRead the notes
How v1.36.0 went

v1.35.0

Added 1
  • Vietnamese translation.
Changed 2
  • Help page paragraph about removing contents in the annotation editor now explains the red and green dotted outlines and that the Tab key moves the outline to the enclosing element without moving the mouse.
  • Core 1.9.1: the HTML serializer writes processing instructions as `<?target data?>` and CDATA sections as text instead of the word "undefined".
Fixed 5
  • Two startup races in the background script that caused TypeError errors in Safari's extension pane: a content script initializing while the background was still reading its settings left that tab without auto-save until its next navigation, and a tab replaced before the first save threw in the tab data handler.
  • Safari and MV2 builds: the options page could not read or save external capture permissions ("Unauthorized sender" errors) because the browser polyfill did not expose `runtime.id`.
  • The localized help page is now chosen from the list of available translations instead of probing extension resources, which Safari reported as "Unable to find help_xx.html" errors.
  • Core 1.9.1: `groupDuplicateStylesheets` now replaces the first occurrence of a repeated inline stylesheet with a placeholder, so a page built from components adopting the same stylesheet no longer carries it twice.
  • Core 1.9.1: `removeUnusedGlyphs` keeps the outlines of "X" and "x" in every subset font, so small text is no longer rendered slightly lower and lighter on non-Retina macOS screens.
View originalRead the notes
How v1.35.0 went

v1.34.0

Added 2
  • The options page displays a warning when the extension is not allowed to access local files, with steps to allow it: "Access local files on your computer" in Firefox 153 and later, and "Allow access to file URLs" in Chromium-based browsers.
  • New hidden option embeddedScript (core 1.9.0), set from the options editor, inserts JavaScript code at the end of the saved page, kept even though the scripts of the page are removed.
Changed 4
  • The help page and the FAQ describe the local file access warning and its requirement.
  • The help page examples of the time template variables use ":" instead of "_".
  • The help page documents the ISO variables as UTC.
  • Russian and Swedish translations were reviewed, the German label of the proof of existence option was fixed, and missing translations and spelling mistakes were fixed in several locales.
Fixed 6
  • Filename templates keep the spaces written in the template instead of collapsing them into a single space, while tabs, line breaks and other whitespace characters are still replaced with spaces one for one.
  • A substitution rule that removes characters, and the "replace emojis with text" option, no longer leave two spaces around the removed character or a space before the file extension.
  • A folder name ending with a dot no longer loses its separator, so "docs./file" is saved as "docs._file" instead of being altered.
  • A ".." segment is removed as a whole segment rather than wherever "../" appears, so "Loading.../page" is saved as "Loading.page".
  • Trailing dots and spaces are removed from every folder name, and the filename preview on the options page follows the same rules.
  • A missing image is no longer requested a second time when its currentSrc is the same URL as its src, which doubled the network wait on slow or unavailable images.
View originalRead the notes
How v1.34.0 went

v1.33.0

Changed 2
  • Options synchronization splits a profile larger than the 8 KB per-item limit of the browser's sync storage over several items and reassembles it on read, so a long filename replacement table no longer prevents importing or synchronizing settings
  • Filename template page text variables decode HTML character references a second time, so a site that escapes its title twice no longer leaves &amp; in the filename
Fixed 3
  • Importing settings or enabling synchronization no longer deletes the current settings when the write to sync storage fails; the error is shown on the options page and the synchronization box is left unticked
  • The proof of existence hash (Woleet) is computed on the final file when the self-extracting archive is enabled, so the saved file can be verified
  • Filename template [Nch] keeps N characters, counted by code point, instead of behaving like [N]
View originalRead the notes
How v1.33.0 went

v1.32.0

Added 2
  • New option "remove unused glyphs" in the Fonts section (experimental, off by default) that removes glyphs the page does not draw from embedded TrueType, WOFF and WOFF2 fonts
  • New %titlecase template function for filenames that uppercases the first letter of every word
Changed 2
  • Whitespace runs in a filename are collapsed to a single space after the replacement rules are applied
  • The labels of the options page start with a capital letter
Fixed 8
  • The filename replacement rules match characters outside the Basic Multilingual Plane so every emoji is removed by a rule written to remove emojis
  • The repair of invalid nesting no longer drops the text between displaced sibling elements, so spaces between words are preserved
  • A page holding a very large amount of text no longer fails with RangeError: Invalid array length in the remove unused fonts step
  • A stylesheet holding large embedded resources no longer costs a multiple of their size in memory when parsing url() values
  • A stylesheet modified by the page's scripts no longer loses rules under a media or container query serialized as infinity * 1px
  • A styled XML document no longer hangs the capture
  • Text can be selected again in the options page on Firefox
  • The editor configures the path of its zip worker explicitly so the zip.js 2.8 update no longer falls back to the main thread
View originalRead the notes
How v1.32.0 went

v1.31.5

Fixed 1
  • Stylesheet media and container feature values serialized as infinite (e.g. (max-width: infinity * 1px)) in Firefox are now written as the largest finite length so every browser can read them back, restoring rules that were previously dead in saved pages
View originalRead the notes
How v1.31.5 went

v1.31.4

Changed 5
  • Update single-file-core to 1.6.39
  • Remove unused styles also removes custom properties that nothing reads
  • Resources are fetched at most 6 at a time per host
  • A frame that fails to load is given up after 2 s instead of 5 s before the page is saved
  • The :first-letter style is read only on block containers when collecting the used fonts
Fixed 5
  • Resources answered with a server error (status 500 or more) are requested once more without the cache, in the page and in its frames
  • The frames now receive the cache mode of the retry when a resource is refetched after a server error
  • A @font-face rule whose src list holds an item that fails to parse no longer loses its font, and the valid sources are kept and embedded
  • The Remove unused fonts option no longer removes a font the page draws only through a list marker or a text-transform, and the characters drawn by a marker or transform are reported as drawn in Chrome and Firefox
  • An image still loading when the page is saved is kept instead of being dropped as hidden because its box measured 0 × 0
View originalRead the notes
How v1.31.4 went

v1.31.3

Changed 2
  • Frame save now draws the poster in the window of the page, and auto-save writes a blank poster sized like the video
  • Updated single-file-core to 1.6.34
Fixed 4
  • The domain profile menu no longer selects Default Settings on a domain without a rule when another global profile is selected
  • A wildcard rule is no longer shown as a domain rule when a tab is activated
  • The domain profile menu refresh now follows the same rules as the menu creation
  • Auto-save and Save frame no longer fail silently when a video without a poster frame cannot be captured, such as a cross-origin video or one without a decoded frame yet
View originalRead the notes
How v1.31.3 went

v1.31.2

Fixed 4
  • Removing unused fonts no longer drops the unicode-range subsets that hold the icon glyphs of fonts which set them through a custom property, such as Font Awesome 7, so those icons are no longer rendered with the fallback font
  • The displayed srcset candidate keeps its descriptor when the alternative images are removed, so the intrinsic width of the image matches the original page
  • JPEG XL images are named with a .jxl extension in self-extracting ZIP archives even when their URL carries no extension
  • JPEG XL images are extracted as image/jxl instead of application/octet-stream
View originalRead the notes
How v1.31.2 went

v1.31.1

Fixed 3
  • The retry that runs when the browser rejects a file name now replaces only the characters the browser refuses, instead of swapping all eleven replaceable characters for their fullwidth lookalikes
  • Removing the rows of the characters replaced in file names table now yields the replacement character underscore, as the former JSON edit did
  • The plus sign is no longer turned into a fullwidth plus sign when another character caused the file name rejection
View originalRead the notes
How v1.31.1 went

v1.31.0

Added 4
  • The batch save page has a profile dropdown next to the "Save pages" button, where the first entry keeps the current behaviour and the other entries apply one profile to every URL of the batch, rules included
  • The batch save page remembers the selected profile choice
  • Each URL of the batch shows the profile it will be saved with
  • A URL that a rule maps to the disabled profile is flagged before saving
Changed 2
  • A URL skipped by the batch save because its rule maps it to the disabled profile stays in the list with a status saying so instead of silently disappearing
  • Updated single-file-core to 1.6.31
Fixed 7
  • The labels of the auto-configuration rules on the options page are aligned again
  • The help text of "synchronize options" no longer pushes the button bar out of the options dialog
  • The first click on a context menu entry after the background wakes up is no longer lost, because the click handler waits for the menus to be rebuilt before looking the entry up
  • The semi-transparent mask shown while a page is being saved no longer darkens with the page's own ::backdrop rule, and its ::before and ::after pseudo-elements are turned off
  • The cancel button shown while saving is aligned with the logs panel and uses the same colours in light and dark schemes
  • A link added next to a blocked video stays on the video instead of landing at the top of the page when the video sits directly in main or body
  • The infobar host turns off the pseudo-elements that a page stylesheet could draw on it
View originalRead the notes
How v1.31.0 went

v1.30.0

Added 1
  • The error bar displayed when a save fails has a "Copy details" button that copies the error message, the content script and background stacks, the step reached, the version, the user agent and the page URL.
Changed 1
  • single-file-core is updated to 1.6.29: the matched source of a picture element keeps its size on the saved image, and serialised adopted stylesheets are cached for one capture only.
Fixed 2
  • When saving several tabs, pages are saved in the order of the tabs, so maxParallelWorkers: 1 saves the tabs in sequence.
  • maxParallelWorkers and processInForeground are read on every batch instead of once per browser session, so imported settings apply without a restart.
Security 3
  • The options profile is no longer sent to child frames; frames now receive only their window and session ids and fetch the capture settings they need from the top frame through runtime messaging relayed by the background.
  • The user-script events no longer expose the destination and credential options, and a user script can no longer change them through its response.
  • On Chromium, use_dynamic_url is set on the web accessible resources so a page can no longer detect the extension by fetching one at the fixed extension URL.
View originalRead the notes
How v1.30.0 went

v1.29.0

Added 1
  • New option "custom stylesheet" in the Stylesheets section that inserts CSS as the last stylesheet before the page is read, applied to the page and its frames and saved with the page
Changed 3
  • The option "remove images for alternative screen resolutions" now also decides whether alternative images are downloaded: when checked only the displayed image of an img or picture element is requested, which makes saving faster; when unchecked the srcset variants are downloaded and kept with their media queries and sizes so the saved page stays responsive
  • single-file-core is updated from 1.6.25 to 1.6.28
  • The image quality option is documented in the Chinese help page
Fixed 2
  • A text resource no longer loses every U+FEFF character it holds, only a leading byte-order mark, so a stylesheet using the character as a zero-width no-break space in content is no longer altered on save
  • Grouped duplicate images are written in resource order instead of the order their downloads finished, so that part of the saved page no longer varies between two saves
Removed 1
  • The hidden option blockAlternativeImages is removed from the settings
View originalRead the notes
How v1.29.0 went

v1.28.1

Changed 2
  • single-file-core is updated from 1.6.22 to 1.6.24, including support for fonts declared in nested rules, font-width and tech() sources, fonts created by scripts, specificity per spec, and zip.js 2.23.0
  • The privacy policy mentions the WebDAV, S3 and REST form API destinations
Fixed 5
  • With "remove unused fonts", a font named only in a nested style rule was removed, causing the text to fall back to another font
  • A url() in @scope, @starting-style, @keyframes or @page was not saved in the page
  • A font created by a page script with new FontFace(...) could be saved with an invalid family name
  • Removing a script, a noscript, a resource hint or a hidden input from the body shifted the position of subsequent elements, so :nth-child() and similar selectors matched other elements
  • In Firefox, a stylesheet imported by a style element was applied empty in a self-extracting archive, so pages loading Google Fonts this way lost their fonts
View originalRead the notes
How v1.28.1 went

v1.28.0

Changed 4
  • single-file-core is updated from 1.6.19 to 1.6.22
  • CSS is parsed with the ESLint fork of css-tree
  • zip.js is updated to 2.22.0
  • The mask, progress bar, cancel button and logs window are shown in the top layer using manual popovers, with the previous code kept as a fallback when showPopover is not supported
Fixed 4
  • Font pruning issues are fixed in single-file-core
  • With "zoom out the page during the capture", the mask, progress bar, cancel button and logs window keep their size and position instead of being shrunk and moved out of the viewport
  • The share button of the share bar now gets the focus
  • Cancelling the share dialog closes the share bar instead of showing it again
View originalRead the notes
How v1.28.0 went

v1.27.0

Added 1
  • New option "quality of resized images" (imageQuality, default 0.8) sets the quality used to re-encode JPEG and WEBP images resized with "image reduction factor"; a value of 1 saves WEBP images without loss, and the field is disabled while the image reduction factor is 1
Changed 2
  • The help of "image reduction factor" now explains that images whose size is not set by the page (e.g. icons, logos) are displayed smaller
  • single-file-core is updated from 1.6.14 to 1.6.19
Fixed 13
  • A font stylesheet served only with the page's Referer was dropped from the saved page; when fetching a link stylesheet fails, the rules loaded by the page are now used instead
  • The referrerpolicy attribute of img, source, link and script elements is now applied when fetching them, and no Referer is sent for a resource of a stylesheet whose Referrer-Policy gives none
  • With "image reduction factor" set, a resized image is no longer kept when it is larger than the original
  • With "image reduction factor" set, the images of canvas elements are resized too
  • With "image reduction factor" set, the images of background attributes are no longer resized
  • With "image reduction factor" set, an SVG image element without size keeps its displayed size
Removed 1
  • The option "compress CSS content" is removed because it has had no effect since single-file-core 1.6.15
View originalRead the notes
How v1.27.0 went

v1.26.5

Changed 1
  • single-file-core is updated from 1.6.11 to 1.6.14
Fixed 9
  • In Firefox, when "file name conflict resolution" is set to "prompt for a name", the name is now requested when the file already exists, instead of renaming the download with a number
  • With "compress HTML content" enabled, pages with invalid nesting no longer have elements moved to the end of their parent, such as the input field of a Google Gemini chat being displayed at the top instead of the bottom
  • Elements dropped by the HTML parser when a saved page is opened, such as a form in a form or a td outside a table, are kept
  • Invalid nesting is repaired inside shadow roots, and a link nested in a link is rebuilt when the saved page is opened
  • In a style or a script, "/>" is no longer escaped as "\/>" and a backslash is no longer added each time a saved page is saved again, which removed the list markers of Google Gemini pages
  • Saving a saved page again no longer moves the meta name=referrer element after the .sf-hidden stylesheet
View originalRead the notes
How v1.26.5 went

v1.26.4

Fixed 1
  • Pages containing a link nested inside another link, such as a Substack home page, no longer fail to save with a HierarchyRequestError.
View originalRead the notes
How v1.26.4 went

v1.26.3

Changed 5
  • single-file-core is updated from 1.6.9 to 1.6.10
  • In a self-extracting archive, stylesheets with the same content are stored once regardless of the URL each came from, and @import chains are merged from the leaves up, reducing stylesheet files from 736 to 263 and CSS parsing by 3.2 MB across 24 real pages
  • In a self-extracting archive, images generated by SingleFile (video frame posters, blocked video icons, and canvas bitmaps) are stored as files instead of data URIs, and elements producing identical bytes share one file
  • The remove unused styles pass is faster by clearing the css-tree balance buffer only where used, caching the revert-layer scan per rule and declaration, cloning selectors instead of re-parsing them, and parsing nested selectors once instead of twice
  • css-tree is updated to 3.2.1, which fixes an unquoted url() whose last character is an escaped space
Fixed 12
  • A standalone @starting-style block was minified as an unconditional group, causing the saved element to stay in its before-transition state
  • Cascade layer ordering corrected so a sublayer no longer outranks its parent's own declarations, anonymous @layer blocks each get their own identity, and important declarations are ordered correctly
  • Several shapes of revert-layer that escaped the rollback protection are now protected, including shorthands declared in the lower layer, all: revert-layer, var() fallbacks, state-dependent selectors such as p:hover, and selectors matching nothing in the page
  • @scope roots are resolved correctly for prelude-less nested @scope, scoped selector matching and eligibility use the same root, and proximity respects the root's limits
  • Nested selectors with a comma-separated parent list are now tried with the actual combinations of parent alternatives instead of substituting one alternative at a time, so rules like .a, .b { & + & } are no longer removed incorrectly
  • CSS identifiers are compared by their unescaped value so escaped or differently-cased names such as \61 for a, and pseudo-class and at-rule names, are recognised correctly
View originalRead the notes
How v1.26.3 went
View all

Discussion

If you publish SingleFile, you can claim this product by proving you administer its repository.