Skip to content

Indent / Unindent Text

Add spaces to every line or remove up to the selected number of leading spaces.

Mode

Input

12 chars2 lines

Result

Type or paste on the left — the result updates as you type.

Supports 1–100 spaces. Tabs are not expanded. Blank lines are included and line endings become LF.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: