#text #indent #unindent

app unindenter

A simple tool to unindent text

1 unstable release

0.1.0 Feb 4, 2023

#243 in Text processing

MIT license



Unindenter is a command-line utility written in Rust that removes leading white spaces from text read from stdin. The goal of this utility is to make it easier to work with indented text by removing the leading whitespaces and making the text more readable.


You can install the unindenter by using cargo:

cargo install --locked unindenter


You can use unindenter by piping text into it:

echo "    Indented text" | unindenter

This will output:

Indented text

You can also use unindenter as part of a larger pipeline:

cat indented-file.txt | unindenter | some-other-command


Contributions are welcome! If you'd like to contribute to unindenter project, please open an issue or a pull request.


This project is licensed under the MIT License.

No runtime deps