About the Indent Text
Pasting a snippet into Markdown, YAML or a nested code block often needs every line shifted by the same amount. Indent adds spaces or a tab to each non-empty line; outdent removes them, without touching lines that are already less indented.
It works like the Tab and Shift+Tab keys in a code editor, for any amount of text.
How to use the Indent Text
- Paste your text.
- Choose indent or outdent, and spaces or a tab.
- Copy the result.
Features
- Continue with…: send the result straight into a related tool, no copy and paste
- Indent and outdent
- Spaces or tab
- Empty lines left blank
- Safe outdenting
Supported formats
- Plain text
Frequently asked questions
Will it break Python code?
No — every line moves by the same amount, so relative indentation is preserved.
Is my text sent anywhere?
No. Everything runs in your browser, so nothing you paste is uploaded or stored.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools