Text Wrap

Hard-wrap any text to a fixed column width — keep indentation and blank lines, choose whether to break long words. Runs entirely in your browser, no server, no sign-up.

Wrapped text

What this tool does

Hard-wrap (reflow) text to a fixed column width, right in your browser. Every output line is kept at or below the width you choose. Nothing is sent to a server — it runs locally, works offline, and needs no sign-up. Paste your text, set a Line width, and optionally toggle Preserve indentation or Break long words.

How it wraps

Options

OptionWhat it does
Line widthThe maximum number of characters per line (default 80). No output line will exceed it.
Preserve indentation (default on)Detects the leading whitespace of each source line and re-applies it to every continuation line, so indented blocks and list items stay aligned. Turn off to flush everything to the left margin.
Break long words (default on)Hard-splits a single word that is longer than the width at the column boundary. Turn off to keep such a word intact on its own over-length line (useful for URLs or long identifiers you don't want chopped).

Examples

InputWidthOutput
the quick brown fox jumps over the lazy dog15the quick brown / fox jumps over / the lazy dog
supercalifragilisticexpialidocious10 (break on)wrapped into 10-char chunks
supercalifragilisticexpialidocious10 (break off)left on one over-length line

FAQ

Is it free and private?

Yes — your text never leaves your device, and it keeps working offline once the page has loaded.

Does it count by characters or display width?

It counts Unicode characters (scalar values), which is exact for plain prose. Wide CJK glyphs and combining marks may render wider than their character count.

Will it merge my paragraphs?

No. Blank lines and existing line breaks are preserved — only the text within each line is reflowed. To remove hard breaks inside paragraphs first, use the Unwrap Text tool, then wrap.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool text-wrap "Paste the text you want to wrap…"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/text-wrap/?text=Paste%20the%20text%20you%20want%20to%20wrap%E2%80%A6&width=80&preserve_indent=true&break_long_words=true

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.