Why this tool is useful
Use this formatter for terminal banners, plain-text notices and fixed-width documentation where each line needs predictable balanced padding.
Center every line inside an exact Unicode-character width while keeping blank rows and rejecting destructive truncation.
Ready. Your working data stays in this browser.
Use this formatter for terminal banners, plain-text notices and fixed-width documentation where each line needs predictable balanced padding.
The browser counts Unicode code points, calculates the remaining width and puts the extra space on the right when an odd amount cannot be divided evenly.
Center A and BBB at width 5 to obtain two leading spaces before A and one leading space before BBB without changing either value.
The calculation is deterministic and explains validation errors instead of silently changing invalid input.
Input and output remain in this tab. Copy and download happen through browser APIs without a server upload.
Every run reports its tool mode, timestamp and input/output size so transformed data can be audited.