✳tools.stBrowse tools
◈ Processed on your device
Tt

Remove common indentation

Remove the shared leading indentation of a code block.

Free

Remove the shared leading indentation of a code block. Find the shortest leading whitespace prefix among nonempty lines and remove that many characters. This keeps relative indentation in a pasted block while moving its common left edge outward.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. Copy or download your result.

Worked example

Example input

Input:   one
    two

Example result

one
  two

Limitations and details

Tabs count as one character rather than a visual tab stop; mixed tabs and spaces may require separate normalization.

Inputs and options

Input
Text

Frequently asked questions

Is this tool free and private?

Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.

Related tools