Online Indent Text
Add a prefix (spaces, tabs, or custom string) to each line of text. Optionally indent only non-empty lines. Client-side only.
Line one Line two Line four
Frequently Asked Questions
- What can I use as indent?
- Common options: spaces (e.g. 2 or 4), a tab character, or any custom string (e.g. '> ' for quotes or ' - ' for list items).
- Empty lines?
- You can choose to add the prefix to every line (including empty ones) or only to non-empty lines so blank lines stay blank.
- Remove indent?
- To remove indent instead, use a separate tool that strips leading spaces/tabs or a fixed prefix from each line.
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.