UTF-8 Decoder
Decode UTF-8 bytes and fix mojibake.
Strip indentation so every line starts at the left margin.
Left Align Text strips the leading whitespace that a block picks up from wherever it was copied. Flat mode removes all of it; relative mode removes only the amount every line shares, which keeps the internal nesting of a code block intact.
Text copied out of a PDF, a slide deck or an indented code block arrives carrying the indentation of wherever it came from. Every line starts a few characters in, the block no longer aligns with anything around it, and removing it by hand means editing every line.
This strips the leading whitespace from every line in one pass. There are two useful modes. Flat removes all indentation so every line starts hard against the margin. Relative removes only the common indentation shared by every line — which is what you want for a code block copied out of a function, where the nesting inside it still matters and only the outer indentation should go.
Only the shared indentation is removed, so a function copied out of a class still has its structure.
A tab counts as a configurable number of columns, so mixed indentation is handled consistently.
Only the start of each line changes — nothing is joined together.
A line of spaces becomes genuinely empty, clearing invisible whitespace at the same time.
Trailing whitespace can go in the same pass, which is usually wanted alongside.
A block copied from a PDF, a slide, an email or a code editor.
Flat removes all indentation; relative removes only the amount every line shares.
Optionally trim the ends of lines in the same pass.
Every line now starts where you expect it to.
Code. A function copied out of a class carries four or eight spaces of outer indentation on every line, while the nesting inside it is meaningful. Relative mode removes the shared amount and keeps the structure.
Yes. Tabs are treated as indentation and removed alongside spaces. For relative mode, a tab is counted as a configurable number of columns so mixed indentation is measured consistently.
No. Line breaks are untouched — only the whitespace at the start of each line is removed. Use Unwrap Text if you want lines rejoined into paragraphs.
A line containing only whitespace becomes genuinely empty, which is almost always what you want and removes invisible whitespace from the file at the same time.
What people who use the Left Align Text think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Left Align Text. It takes half a minute and no account.
Write the first reviewDecode UTF-8 bytes and fix mojibake.
Switch text between upper, lower, title, sentence, camel, snake and kebab case.
Convert text into Morse code, with audio playback.
Insert text at a position, every N characters, or around a match.
Turn a URL slug back into a readable title.
Turn words into emoji and decorate text with them.
Replace emoji with their names, shortcodes, or nothing at all.
Strip hard line breaks from pasted text without losing paragraphs.