Reformatting the shape of text rather than its words is awkward in editors built for writing, not for bulk line operations.
Align Text Online pads each line to the left, right or center within a width you set, so plain-text layouts stay tidy.
How to use Align Text Online
- Paste the lines you want to align into the input box.
- Pick an alignment and width, and Align Text Online pads each line with spaces to match.
- Copy the aligned block, or download it as a text file.
Use cases
- Right-aligning a short column of numbers for a monospaced report.
- Centering a heading inside a fixed-width text banner.
- Lining up label columns in a plain-text note.
Good to know
Align Text Online lines up each line to the left, right or center within the width you set, padding with spaces. Right and center use display width, so wide CJK characters line up correctly in monospaced contexts.
Frequently asked questions
How does center alignment handle odd spacing?
Any leftover space is placed on one side, so a line that cannot be split evenly leans by a single character.
Does alignment work with wide CJK characters?
Yes. It measures display width, so full-width characters are counted as two columns and still line up.
What happens if a line is longer than the width?
It is left as it is; alignment only adds padding and never trims text that already exceeds the width.