Text

Text Indenter

Input

Output

Run process to generate output.

Frequently Asked Questions

What indentation options are available?
You can add a custom prefix (spaces, tabs, or any string) to the beginning of every line, or to non-blank lines only. Common uses: adding 2 or 4 spaces for code indentation, adding '> ' for Markdown blockquotes, or prepending '# ' for comment blocks.
How is indentation different from a prefix wrapper?
Functionally they are similar — both add text to the start of each line. 'Indentation' specifically refers to whitespace (spaces or tabs) used for code structure. The text-line-wrapper tool also handles suffixes.
Can I indent only selected lines?
This tool operates on all lines. To indent specific lines, manually select the relevant subset of your text, process it here, then reintegrate it with the rest of your content.