DEVELOPER BENCH
Compact supplied HTML text by removing comments and optional whitespace between adjacent tags while preserving ordinary text content.
WHAT THIS DOES
Runs entirely in your browser.
/tools/html-minifierhtml-minifierv4.0.0LOCAL · LOCAL RUNIMPLEMENTED — This workbench is functional in the current release.Presets for this workbench
No preset yet. A preset stores the values in this form — never the result — and only for workbenches that run entirely in your browser.
Collections
Saved on this device only. Turn on sync to carry them to another device.
BATCH / ONE VALUE PER LINE
Up to 200 lines, one at a time, in this browser. Each line takes the place of html and everything else stays as you set it. Nothing is uploaded, and the row limit is not exceeded silently.
METHOD / LOCAL RUN
A local text transformation removes HTML comments and replaces whitespace between a closing and opening tag with no character.
Boundary: This is not an HTML sanitizer, DOM parser, optimizer, renderer, accessibility audit, or safe handling of untrusted markup. Preformatted and script/style content should not be minified here.
The calculation or transformation runs in your browser using the values entered above. No input is sent to UtilityForge for this tool.
EXAMPLES / LOCAL RUN FIXTURES
FAQ
This is not an HTML sanitizer, DOM parser, optimizer, renderer, accessibility audit, or safe handling of untrusted markup. Preformatted and script/style content should not be minified here.
No. This published tool runs locally in your browser. UtilityForge does not send the values entered in this workbench to a server.
No. This workbench runs in the page: HTML input are read by the code your browser already downloaded, and UtilityForge receives neither the values nor the result.
Yes, and it is enforced rather than advertised: HTML input (100,000 characters). The limit is a browser input limit on a tool that runs on this device, so nothing is truncated after being sent anywhere.
RELATED TOOLS
LOCAL — Runs entirely in your browser.
COMMON USE CASES / SOURCE NOTE
Last reviewed:
Source information: Conservative local text transformation. The HTML is not inserted, executed, sanitized, fetched, or remotely processed.