FreeDev Tools

Fluid Typography Generator

Generate clamp() font sizes that scale smoothly between viewport widths.

Resize the window —
this text is fluid.

.fluid-text {
  font-size: clamp(1.125rem, 0.587rem + 2.391vw, 2.5rem);
}

/*
  18px at ≤360px viewport
  40px at ≥1280px viewport
  scales linearly in between
*/

Generated locally in your browser — nothing is uploaded.

How to Use

  1. 1

    Set the size range

    Min/max font size and the viewports they map to.

  2. 2

    Resize to test

    The preview text uses the live clamp() value.

  3. 3

    Copy the clamp()

    One declaration replaces breakpoint font-size overrides.

Frequently Asked Questions

Font sizes that scale smoothly with viewport width instead of jumping at breakpoints — one clamp(min, preferred, max) declaration replaces a stack of media queries.