# Hyphenation

> Splitting a long word at the end of a line, with a hyphen.

**Field:** Design  
**Category:** Typography  
**Also known as:** Automatic Hyphenation, Soft Hyphen

## Think of it like

It is like cutting a long loaf to fit a short bag. You cut it at a clean spot.

## Definition

Hyphenation is splitting a long word across two lines, with a hyphen at the end of the first part. A word may only break at set points, such as between its sounds. It helps most in narrow columns and justified text, where big gaps would open up. Apps use a word list for each language to find the breaks. A web page has to say its language, or the browser will not do it.

## Example

A narrow news column in German turns hyphenation on. Long words split cleanly and the holes between words close up.

## Example code

```html
<html lang="en">
<style>
  p { hyphens: auto; }
</style>
```

The browser may now split long words, because it knows the page is in English.

## Why it matters

Without it, thin columns and text that runs edge to edge fill with wide gaps.

## Common mistake

Turning on hyphens without setting the page language. The browser then does not split any words at all.

## Three principles

- **Break at set points.** Only where the language allows.
- **Needs the language.** The page must say which one.
- **Not too many.** Avoid hyphens on many lines in a row.

## Related terms

- [Text Alignment](https://learn.benibix.com/term/design/text-alignment)
- [Line Length](https://learn.benibix.com/term/design/line-length)
- [Body Text](https://learn.benibix.com/term/design/body-text)
- [Paragraph Spacing](https://learn.benibix.com/term/design/paragraph-spacing)
- [Cascading Style Sheets (CSS)](https://learn.benibix.com/term/development/css)

## Taught in

- [Line Length and Paragraphs](https://learn.benibix.com/learn/design-typography/line-length-and-paragraphs): Typography, 9/17

![Two text blocks side by side. In the left one, paragraphs are split by an empty gap. In the right one, there is no gap and the first line of each paragraph is pushed in. Below, a narrow column shows a long word split over two lines with a hyphen.](https://learn.benibix.com/diagrams/des3-paragraph-spacing.svg)

---

Source: https://learn.benibix.com/term/design/hyphenation
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
