HTML Meter Generator
Generate clean HTML code for a <meter> element — the semantic gauge control for scalar measurements within a known range. Set value, min, max, low, high, and optimum attributes with a live browser preview.
Last updated: May 28, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is HTML Meter Generator?
The HTML <meter> element represents a scalar measurement within a defined range — disk usage, exam scores, battery level, or any value that sits on a numeric scale with a known minimum and maximum.
Unlike <progress>, which represents task completion, <meter> carries semantic meaning about whether a value is optimal, acceptable, or suboptimal — expressed through the low, high, and optimum attributes. Browsers use these to colour the gauge green, yellow, or red automatically.
How to Use HTML Meter Generator
Set the current value and the min/max range
Optionally set low and high thresholds to define the acceptable zone
Set optimum to tell browsers which region is preferred (affects colour)
Add a label and id for accessible pairing
Copy the generated HTML and paste it into your template
Common Use Cases
- Dashboard developers adding visual gauges for metrics like disk usage, memory consumption, or quota status.
- Form designers showing a semantic strength or score indicator with automatic browser colouring.
- Educators building quiz result pages that show a score relative to a passing threshold.
- Accessibility-focused developers needing a native, screen-reader-friendly gauge without JavaScript libraries.
- Web designers prototyping data visualisation with zero dependencies using a native HTML control.
Example Input and Output
A disk usage gauge showing 65 GB used of 100 GB, with a warning threshold at 75 GB.
value=65, min=0, max=100, low=25, high=75, optimum=85<label for="progress-meter">Progress</label>
<meter id="progress-meter" value="65" min="0" max="100" low="25" high="75" optimum="85">65%</meter>Fallback content
The text between <meter> and </meter> is shown in browsers that do not support the element. This generator includes the value as fallback text.
Browser-side only
All code generation runs in your browser.

