Online Unindent Text
Remove common leading indentation from each line. Align the first character of every line by stripping shared leading spaces or tabs. Client-side only.
Frequently Asked Questions
- What is unindent?
- Unindent finds the smallest amount of leading whitespace that every non-empty line has in common, then removes that much from each line so text aligns to the left.
- Tabs and spaces?
- The tool works with spaces or tabs. It removes the same common prefix from each line so relative indentation is preserved.
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.