Portable single file
Package pages with modest dependencies into one HTML file for archiving, sharing, and offline opening.
Embed external CSS and JavaScript resources into HTML to create a portable single-file webpage.
This asset inliner reads external stylesheet links, script src values, and image src values. CSS becomes style content, JavaScript becomes inline script content, and images become Data URLs, producing a portable HTML file for saving, sharing, or offline use. Browser XHR is used, so cross-origin servers must allow CORS.
Package pages with modest dependencies into one HTML file for archiving, sharing, and offline opening.
Enable CSS, JavaScript, and images independently to avoid reading or expanding resources you do not need.
Assets are read sequentially. CORS, 404, or network errors do not block the remaining assets and are reported.
The browser requires the target server to allow reading through CORS. 404 responses, protocol mismatches, bad relative paths, and login-protected resources can also fail. Check the URL and response headers before retrying.
During conversion the script text is written to the parsed DOM and is not executed in the tool UI. A downloaded HTML file may execute scripts when opened, so process trusted sources only.
You may also need these file utilities
Convert stylesheet rules into inline style attributes for email templates and single-file pages.
Render HTML code or webpage fragments as PNG, JPG, or WebP images for sharing and content creation.
Remove unnecessary spaces, line breaks, and comments from HTML to create compact webpage code.