Text Indentation Editor: an explicit text transformation
Paste text, set Indentation characters per line, choose Add or Remove and Spaces or Tabs, then select Process text. Loading the example resets to Add, Spaces and a count of two. Existing indentation is retained when adding more.
Inspect the example result
Choose Load example (replaces input and settings) and then Process text. Expected result: two spaces before alpha, four before beta, a blank line, and two before gamma. The example replaces existing input and options; keep your original separately if needed.
Exact rules and boundaries
Remove deletes at most the requested number of leading characters of the chosen kind, stopping at the first different character. It does not remove two spaces after an initial tab when Spaces is selected. A whitespace-only line containing spaces or tabs is treated as blank and left unchanged. Internal whitespace is untouched.
This is a character edit, not a code formatter. It does not understand indentation-sensitive programming languages or convert tabs to equivalent visual columns. A tab adds one tab character regardless of the editor’s tab width. Removing indentation can change the meaning of source code, so inspect the output before using it.
Limits and export
Indentation accepts 1–100 characters per nonblank line. Source input supports 100,000 UTF-16 code units. Line-based operations accept 10,000 logical lines, excluding an empty final segment after a trailing terminator. Unpaired UTF-16 surrogates are rejected to avoid replacement during UTF-8 export. Browser textareas can normalize line endings before processing.
Changing source or any option clears the old result and download. Copy and download contain the complete transformed TXT. Review leading whitespace in an editor that can display spaces and tabs before replacing indentation-sensitive code. Processing does not modify a local source file or send entered text to a conversion service.
Use Text Padding Tool when the goal is a minimum line length, or Text Unwrapper when joining prose lines into paragraphs is intentional.





