Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Text & Strings

Wrap / Unwrap Text

Reflow prose to a chosen line width, or collapse already-wrapped lines back into single lines per paragraph. Blank lines between paragraphs are preserved by default.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Wrap to a width or unwrap a paragraph

Wrap mode fills each line with as many whole words as fit inside the chosen column width, then starts the next line, which is exactly what a plain-text email, commit message or Markdown source needs. Unwrap is the inverse: it joins the hard-wrapped lines of each paragraph back into one long line so the text can be re-flowed at a different width.

Paragraphs are kept apart

A run of blank lines marks a paragraph boundary. With the preserve option on, those gaps survive and each paragraph is wrapped or unwrapped on its own, so list blocks and headings are not glued together. Whitespace inside a paragraph is collapsed to single spaces before wrapping, removing stray indentation from the original.

Long words and tokens

A URL or hash longer than the width cannot be broken at a space, so by default it overflows its line. Turning on the long-word option splits such tokens at the column boundary instead, trading readability for a guaranteed maximum width — useful when generating fixed-width text for a terminal or a diff.

No text leaves the page

Reflowing is a local string operation with no server involved. Nothing is uploaded or retained, so drafts, leaked logs or any other sensitive prose can be reformatted here without a network round trip.

Questions

How does wrapping decide where to break?

Greedy word wrap: it fills each line with as many whitespace-separated words as fit within the width, then starts a new line. Runs of whitespace inside a paragraph are collapsed to single spaces.

What counts as a paragraph break?

One or more blank lines. With "Preserve blank lines" on, those gaps are kept and each paragraph is wrapped or unwrapped independently.

What happens to a word longer than the width?

By default it is left intact and overflows past the column, keeping the word readable. Enable "Break words longer than the width" to split it exactly at the boundary instead.

See category