Adding the same leading spaces to many lines one at a time is slow and inconsistent.
Indent Text Online adds a fixed indent to the start of every line in a single pass.
How to use Indent Text Online
- Paste the lines you want to indent into the input box.
- Set how many spaces to add, and Indent Text Online indents every line by that amount.
- Copy the indented text, or download it as a text file.
Use cases
- Indenting a block before pasting it inside a code sample.
- Pushing a quoted passage in to set it apart.
- Adding consistent leading spaces to a plain-text list.
Good to know
Indent Text Online prepends the number of spaces you choose to the beginning of every line, including blank ones, so the whole block shifts right by an equal amount while the text on each line stays the same.
Frequently asked questions
How many spaces can I add?
You can set the indent from zero up to a large value; every line receives exactly that many leading spaces.
Are blank lines indented as well?
Yes. Each line is indented equally, including empty lines, so the left edge stays uniform.
Does it use tabs or spaces?
It adds spaces, which keeps the indent identical in any viewer regardless of tab-width settings.