Unwrap text

Remove hard line breaks inside paragraphs to rejoin wrapped text — great for text copied from emails or PDFs. Runs in your browser; nothing is uploaded.

Unwrapped text

About this tool

Unwrap text removes the hard line breaks that chop a paragraph into many short lines — the kind you get when copying from an email, a PDF, a code comment, or fixed-width output — and rejoins each paragraph into one continuous line.

Privacy

Everything runs in your browser via WebAssembly — your text is never uploaded to a server. You can also run it from the gizza CLI or inside a gizza chat.

Common uses

FAQ

Which lines does the list/quote protection recognize?

Lines starting with -, *, + or > plus ordered-list markers in the 1. or 12) style. With "keep list breaks" on (the default) those lines keep their own line; switch it off and every line inside a paragraph is joined, lists included.

How exactly are the lines rejoined?

Each paragraph — a run of consecutive non-blank lines — is joined with a single space between lines. Words hyphenated across a line break are not re-fused: exam- + ple becomes exam- ple, so fix end-of-line hyphens before or after unwrapping PDF text.

Do blank lines survive?

Yes — a blank line always ends a paragraph and is preserved, so the document structure survives. Runs of several blank lines are collapsed to a single paragraph break rather than kept verbatim.

Developer & Automation Access

Run it from the terminal

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

gizza tool unwrap-text "Paste hard-wrapped text here…"

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/unwrap-text/?text=Paste%20hard-wrapped%20text%20here%E2%80%A6&keep_list_breaks=true

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