Text to Octal
Convert text into octal character codes.
Centre every line within a width using real spaces.
Center Text pads each line with leading spaces so it sits in the middle of the width you set — the way a banner, a README title or an email signature is centred when there is no formatting available. Blank lines stay genuinely blank.
Centring plain text is how you make a banner, a heading in a README, a title block in a code comment or the middle of an email signature. There is no formatting to lean on, so the centring has to be made of spaces.
Set the width and every line is padded with enough leading spaces to sit in the middle of it. Blank lines stay blank rather than becoming a run of spaces, which matters because trailing whitespace on an otherwise empty line is the kind of thing that shows up in a diff. Lines longer than the width are reported rather than silently overflowing, and can be wrapped first so the whole block centres properly.
The centring is built from characters, so it survives being pasted into a terminal or a plain-text email.
No run of spaces on an empty line, which is exactly the invisible whitespace a diff would flag.
A line that cannot be perfectly centred puts the extra space on the side you choose.
Lines longer than the width can be wrapped so the whole block centres cleanly rather than overflowing.
Eighty for terminals and seventy-two for email are one click, since those are the conventions.
A title, a banner, a signature or a block of lines.
The character width to centre within — eighty for a terminal, seventy-two for email.
Lines longer than the width can be wrapped first so the whole block centres cleanly.
The spacing is real characters, so it holds anywhere a monospaced font is used.
Because a line with an odd number of leftover spaces cannot be perfectly centred. The extra space goes on the right by default, which is the convention; there is a switch to put it on the left instead.
In a plain-text email, yes. In an HTML email the font is usually proportional, so space-based centring drifts — use a CSS text-align rule there instead.
They stay genuinely blank rather than being filled with spaces, so the result has no invisible trailing whitespace on empty lines.
Not meaningfully — it would overflow. Switch on wrapping and the line is broken to fit first, then every resulting line is centred.
What people who use the Center 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 Center Text. It takes half a minute and no account.
Write the first reviewConvert text into octal character codes.
Find opposites for common English words.
Count the distinct characters a text uses, listed with frequencies.
Count how many distinct words a text uses and how varied it is.
Pull every link out of HTML with its anchor text.
Strip letters out and keep the numbers, symbols and structure.
Apply Unicode normalisation so identical-looking text really matches.
Join a list of lines into one line with any separator.