Typography Scale Generator - Online Perfect Header Sizes
Select a ratio (1.25, 1.333, 1.5) and a base size to generate a full typographic scale for h1‑h6. Copy CSS variables.
UD5 Toolkit
font-family: 'Roboto Flex', sans-serif;
font-variation-settings: 'wght' 400, 'wdth' 100, 'slnt' 0, 'opsz' 14, 'GRAD' 0;
wght for weight or wdth for width) that can be adjusted continuously across a range. This technology, introduced in OpenType 1.8 (2016), saves bandwidth and gives designers fine-grained control over typography on the web.
wght — Weight (100–900, e.g. Thin to Black)wdth — Width (narrow to wide, often 50–200)slnt — Slant (oblique angle, typically -15° to 0°)ital — Italic (0 = off, 1 = on)opsz — Optical Size (designed for specific point sizes, e.g. 8–144)GRAD — Grade (strokes thicken without changing width)SOFT, WONK, CASL, or MONO for unique stylistic control.
font-variation-settings property to control axes directly:font-variation-settings: 'wght' 700, 'wdth' 85, 'slnt' -5;wght axis specifically, you can also use the standard font-weight property, and for slnt you can use font-style: oblique. However, font-variation-settings gives you full control over all axes simultaneously. Always provide a fallback font-weight for older browsers. Use this tool above to generate the exact CSS you need!
@supports queries.
opsz) adjusts the design of a typeface to look its best at a particular size. At small point sizes (e.g. 8–12px), fonts with optical sizing will subtly increase x-height, open up counters, and reduce stroke contrast for better legibility. At large display sizes (e.g. 72px+), the same font will show finer details, higher stroke contrast, and more elegant proportions. Set opsz close to your actual font size for the best typographic result.
GRAD) in Roboto Flex adjusts stroke thickness without changing the glyph width or affecting line breaks. This is different from wght, which may slightly alter glyph widths. Grade is perfect for maintaining consistent layout while compensating for different rendering backgrounds (e.g., light text on dark backgrounds may appear thinner and benefit from a positive grade). Roboto Flex's GRAD range is -200 to 150.
Select a ratio (1.25, 1.333, 1.5) and a base size to generate a full typographic scale for h1‑h6. Copy CSS variables.
Fetch a page and list all loaded assets (CSS, JS, images) with their sizes. See total page weight. Quick performance check.
See exact dimensions of your current browser inner/outer window, screen resolution, and pixel ratio. Developer debug.
Analyze letter/symbol frequency with an interactive bar chart and heatmap. Useful for breaking simple ciphers, linguistics, and SEO keyword analysis. Local processing.
Change text orientation within vertical writing mode. See mixed, upright, sideways. Useful for CJK layout.
Dial up the leet level from 1 to 10. See your text transform smoothly. 7H15 15 4W350M3 4DJU574B13.
Enter a URL and extract the font stacks and web font URLs used on that page. Quick typography research.
Compare text‑rendering: auto, optimizeSpeed, optimizeLegibility, geometricPrecision. See kerning and ligature changes live.
Create CSS clamp() values for fluid typography. Enter min and max font sizes and viewport widths. Modern responsive design.
Compare font‑display values (block, swap, fallback, optional) on the fly. See how text renders during web font load. Choose the right strategy.
Enter hole saw diameter and material to find the recommended RPM and feed pressure. Prevent burning and kickback.
Compute riser height and tread depth given total rise and run. Applies comfort formula (2R+T=63cm). Ideal for deck or interior stair design.
Estimate filament usage: enter weight or length and get the remaining value plus cost. PLA/ABS density reference. Local calculation.
Enter megapixels and desired DPI to see the maximum print size without upscaling. Quick quality check.
Enter a URL and get a rough client-side performance simulation: request count, DOM size, and potential speed tips. No real Lighthouse.
Enter any two of rise, run, pitch ratio, or angle to get the others. Useful for DIY shed or home projects.
Enter your snake's weight and species to get recommended rodent size and feeding frequency. Avoid under/overfeeding.
Slide left for cooler (blue) or right for warmer (orange) tones on your image. Quick photo adjustment. Local.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Analyze text for screen reader friendliness: detect vague link text, missing alt suggestions. Get a report. Local.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
Enter a reference port's high tide and see estimated tides for the next 3 days using rule of twelfths. Educational.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Paste a list of ingredients with quantities and scale them up or down by a factor. Handles fractions. Cooking helper.
Enter distance and time to get your 500m split. Also predicts how a change in stroke rate affects power output.
Layer gradients and images and blend them with background‑blend‑mode. Create hero sections. Copy CSS.
Create text with a gradient fill using CSS background-clip. Configure colors and direction. Copy the code. Works in modern browsers.
Enter a recipe and scale the ingredient quantities up or down by servings. Supports fractions and mixed units. Cooking helper.
Calculate the bearing (azimuth) and distance between two GPS coordinates using the Haversine formula. Great for orienteering. Local only.