Skip to content
LovTools
EN

Indent Text

Indent or outdent every line by spaces or a tab.

Processed locally on your device — nothing is uploaded.

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

  1. Paste your text.
  2. Choose indent or outdent, and spaces or a tab.
  3. 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