Back to Free Tools

FREE TOOLS

Text Indent and Dedent

Add, remove or normalize leading indentation with explicit ASCII tab stops.

Pasted text, One UTF-8 text file

indented.txt, indentation-report.json

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Paste the admitted text or choose one UTF-8 source file. A selected file takes precedence.
  • Choose the explicit operation and options, then inspect the stated conventions and limits.
  • Select Adjust indentation and download indented.txt, indentation-report.json.

Examples

Removing two columns from lines beginning with two spaces leaves their following content intact.

Limitations

  • At most 200,000 UTF-16 units / 800,000 UTF-8 bytes; 50,000 logical lines and 65,536 units per line; at most 5 MiB complete combined output and 30 seconds. A selected valid UTF-8 file takes precedence over paste. File BOM and original CR/LF spans are preserved for reporting; native textarea input can normalize newlines.
  • Tab width 1–16; adjustment 0–256 columns. Only leading ASCII indentation is processed; tabs in the remaining content are preserved.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool