Right-align Unicode
Quickly align Unicode data to the right. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Right-align Unicode
- 1. Paste the text to align. Enter the Unicode text you want right-aligned into the input pane. Accented letters and other multi-byte characters are counted correctly as single code points.
- 2. Set Width and Fill character. Enter the total column width in code points and which character to pad with on the left, such as a space, so the text lines up flush against the right edge.
- 3. Copy the aligned text. The tool adds fill characters on the left until the text reaches the target width. Copy the result into a table, terminal output or fixed-width display.
When to use Right-align Unicode
Right-align Unicode pads text on the left with a fill character so it sits flush against the right edge of a fixed column width, counted correctly by code point rather than byte. Use it for tabular text output involving Unicode characters.
- Formatting a numeric column with accented labels. A plain-text report lists values next to labels that include accented characters, and the columns misalign because a byte-based padding miscounts them. Right-aligning by code point fixes the layout.
- Building a right-justified receipt in a monospace font. A generated receipt or invoice needs prices right-aligned against a fixed-width column in a monospace font. Right-aligning each value produces the clean, ledger-style layout.
- Lining up a scoreboard printed as plain text. A game's scoreboard is rendered as plain text output and needs scores right-aligned against player names of varying length. Right-aligning each score value keeps the columns tidy.
Examples
Right-align to width 6
Input
café
Output
café
About the Right-align Unicode tool
Right-align Unicode runs as plain JavaScript in your browser tab, with no server behind it. Quickly align Unicode data to the right. Whatever you put in stays on your device from start to finish.
The tool is part of EditSafely's Unicode Tools section, 98 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.
You can shape the output with 2 settings, including Width (code points) and Fill character, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.
That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.
Frequently asked questions
Is Right-align Unicode free to use?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How much text can I process at once?
There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.