Left Align Text
Remove all leading spaces and tabs from every line. Left-justify text for code, documents, CSV and any formatted content. Real-time preview.
What does left align text do?
Left aligning removes all leading whitespace (spaces and tabs) from the start of each line, ensuring every line begins at the leftmost column. This is different from general trimming โ you can choose to preserve trailing spaces and control whether relative indentation is kept.
Remove accidental indentation from code snippets copied from PDFs, emails or presentations where leading spaces were added.
Standardise text imported from Word, Google Docs or other editors that may add unexpected leading spaces to paragraphs.
Clean CSV, TSV or fixed-width data files where field values have been padded with leading spaces during export.
Enable this option to keep the relative structure of nested code โ only the common minimum indentation is removed.