# Text Wrap & Truncate

> Hard-wrap text at a line width, or truncate it to a maximum length.

To wrap or truncate text, paste it and choose a mode. Wrapping breaks lines at word boundaries so no word is split, truncation cuts at a word boundary and adds an ellipsis, and unwrapping joins soft-wrapped lines while preserving real paragraph breaks.

**URL:** https://convertto.tech/t/text-wrapper
**Category:** Text Tools (https://convertto.tech/c/text-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your text.
2. Choose the mode.
3. Set the width.
4. The result appears immediately — copy or download it.

## FAQ

### What line width should I wrap to?

72 characters for email and commit messages, 80 for plain-text files and code comments. Both come from terminal widths and remain the convention because lines much longer than that are measurably harder to read.

### What is a hard wrap?

Inserting real newline characters at the wrap point, rather than letting the display wrap the text. Hard wrapping fixes the layout permanently, which is right for email and wrong for anything that will be shown at different widths.

## Related tools

- [Add Line Numbers](https://convertto.tech/t/add-line-numbers): Prefix every line with a sequential number, with a custom start, separator and zero padding.
- [Case Converter](https://convertto.tech/t/case-converter): Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more.
- [Columns to Lines Converter](https://convertto.tech/t/columns-to-lines): Switch between a delimited single line and one item per line, in either direction.
- [Whitespace Remover](https://convertto.tech/t/whitespace-remover): Strip extra spaces, tabs, blank lines and trailing whitespace from any text.
- [ASCII Art Text Generator](https://convertto.tech/t/ascii-art-generator): Turn words into large ASCII banner text for terminals, READMEs and code comments.
- [ASCII Table Formatter](https://convertto.tech/t/ascii-table-formatter): Turn CSV or tab-separated text into an aligned plain-text, Markdown or box-drawing table.
- [Email, URL & Number Extractor](https://convertto.tech/t/data-extractor): Pull emails, URLs, IP addresses, phone numbers or hashtags out of any text.
- [Fancy Text Generator](https://convertto.tech/t/fancy-text-generator): Convert text into bold, italic, script, monospace and double-struck Unicode styles.
- [Text Truncator](https://convertto.tech/t/text-truncator): Shorten text to a character, word or sentence limit without cutting words in half.
