# Text Wrapper

Wrap text to specific line lengths with customizable options

> Canonical page: https://elysiatools.com/en/tools/text-wrap

- **Category:** Text Processing

- **Keywords:** text, wrap, line, break, format, text wrapper

## Overview

The Text Wrapper tool allows you to instantly format long blocks of text into specific line lengths, ensuring your content is readable and perfectly aligned for emails, code comments, or documentation.

## Inputs

- **Text Input** (textarea): Enter text to wrap...
- **Line Width (characters)** (number): Maximum characters per line
- **Break Words** (checkbox): Break words if they exceed line width
- **Preserve Paragraphs** (checkbox): Keep empty lines between paragraphs
- **First Line Indent** (number): Spaces to indent first line
- **Subsequent Lines Indent** (number): Spaces to indent subsequent lines
- **Bullet List** (checkbox): Add bullet points to each line
- **Numbered Lines** (checkbox): Add line numbers to each line

## When to use

- Formatting long paragraphs for better readability in text editors or email clients.
- Preparing text content to fit within specific character limits for UI components or logs.
- Standardizing documentation or code comments to maintain a consistent visual structure.

## How it works

- Paste your raw text into the input area.
- Adjust the line width and indentation settings to match your requirements.
- Toggle optional features like bullet points, numbered lines, or word breaking.
- Click process to generate your perfectly wrapped text output.

## Use cases

- Formatting README files for GitHub to ensure consistent line lengths across different screen sizes.
- Preparing plain text emails to prevent awkward line breaks on mobile devices.
- Cleaning up log files or raw data exports for easier manual review.

## Frequently asked questions

### Can I force the tool to break long words?

Yes, enable the 'Break Words' option to force line breaks even if a word exceeds the specified line width.

### Does this tool preserve my original paragraph structure?

Yes, the 'Preserve Paragraphs' option is enabled by default to keep empty lines between distinct paragraphs.

### Can I add indentation to the output?

Yes, you can configure both the first-line indent and the indentation for all subsequent lines using the settings provided.

### Is it possible to add list formatting to the text?

Yes, you can toggle 'Bullet List' or 'Numbered Lines' to automatically prefix each line with a bullet or a sequence number.

### What is the maximum line width I can set?

You can set the line width anywhere between 10 and 200 characters per line.

## Related tools

- [Line Number Adder](https://elysiatools.com/en/tools/line-number-adder): Add line numbers to text or code with customizable formatting options
- [Line Number Remover](https://elysiatools.com/en/tools/line-number-remover): Remove line numbers from text or code with intelligent pattern recognition
- [Multiline Merger](https://elysiatools.com/en/tools/multiline-merger): Merge multiple lines into a single line with customizable separators and formatting options
- [Newline Normalizer](https://elysiatools.com/en/tools/newline-normalizer): Normalize and unify newline characters in text to consistent line ending format
- [Prefix Remover](https://elysiatools.com/en/tools/prefix-remover): Remove common prefixes from each line with intelligent detection and customizable options
- [Suffix Remover](https://elysiatools.com/en/tools/suffix-remover): Remove common suffixes from each line with intelligent detection and customizable options
- [Text Indenter](https://elysiatools.com/en/tools/text-indenter): Quickly add indentation to each text line
- [Text to CSV Converter](https://elysiatools.com/en/tools/text-to-csv): Convert various text formats to CSV with customizable parsing options

## Samples

- [Text Case Format Samples](https://elysiatools.com/en/samples/text-case-formats): Examples of different text case formats: camelCase, snake_case, kebab-case, PascalCase, and more
- [Text with Emoji Samples](https://elysiatools.com/en/samples/text-with-emoji-samples): Mixed language text containing various Unicode emojis for testing emoji extraction
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Chinese-English Mixed Text Samples](https://elysiatools.com/en/samples/text-chinese-english-mixed-samples): Sample text files with mixed Chinese and English content for testing automatic spacing tools

## Related content

- [Text Case Conversion and Fixed-Width Alignment](https://elysiatools.com/en/hubs/text-case-conversion-and-alignment-tools): Convert identifier-like text to a target naming convention, wrap it to a chosen line width, then align or pad the finished lines for readable plain-text output.
