Font Size & Line Length Readability Tester

Find comfortable body text settings: size, line height, line length and spacing, checked against accessibility guidelines.

FreeNo sign-upPrivate — runs in your browser

Why line length matters

Reading is a series of small jumps. When lines are too long, your eyes struggle to find the start of the next line; when they are too short, the rhythm breaks every few words. Most guidelines suggest about 45 to 75 characters per line for comfortable reading.

Line height gives each line room to breathe. For body text, around 1.5 times the font size works well, and slightly more for long lines or small type. Larger text needs a little less.

Finally, size and contrast work together. A 16 to 18 pixel size with dark grey text on a light background is easy to read on most screens.

CSS

How to use the Readability Tester

  1. Adjust the textMove the sliders for font size, line height, maximum line width, letter spacing and paragraph gap, and pick a font and colors.
  2. Check the resultsThe checks show characters per line, contrast and whether the spacing meets WCAG guidance. Switch between phone, tablet and full width.
  3. Copy the CSSCopy the body and content CSS, with sizes in rem so they respect the reader’s browser settings.

Example

18 px, line height 1.6 and a max width of 60ch give about 70 characters per line on desktop, inside the comfortable 45–80 range (1ch is the width of a zero, a little wider than an average letter).

On the phone preview the same settings give about 33 characters per line, which is normal for small screens.

Frequently asked questions

What is the best font size for body text?

At least 16 px on the web, and 17–20 px is common for reading-heavy sites. Use rem units so text grows when readers increase their browser font size.

What is the ideal line length?

About 45–75 characters per line for comfortable reading. WCAG 2.2 AAA (1.4.8) recommends no more than 80 characters. Setting max-width in ch units is an easy way to control it.

What does WCAG 1.4.12 Text Spacing require?

Content must still work when users set line height to 1.5, paragraph spacing to 2× the font size, letter spacing to 0.12em and word spacing to 0.16em. Starting with comfortable spacing makes that easy.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester