Back to Free Tools

FREE TOOLS

Pad and Align Text Lines

Left, right or center text lines to a codepoint width using one chosen fill scalar.

Pasted text, One UTF-8 text file

aligned.txt, padding-report.json

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Paste the admitted text or choose one UTF-8 source file. A selected file takes precedence.
  • Choose the explicit operation and options, then inspect the stated conventions and limits.
  • Select Pad and align lines and download aligned.txt, padding-report.json.

Examples

Left alignment to width 5 pads cat with two following spaces.

Limitations

  • At most 200,000 UTF-16 units / 800,000 UTF-8 bytes; 50,000 logical lines and 65,536 units per line; at most 5 MiB complete combined output and 30 seconds. A selected valid UTF-8 file takes precedence over paste. File BOM and original CR/LF spans are preserved for reporting; native textarea input can normalize newlines.
  • Width 0–4,096 codepoints; fill must be exactly one admitted scalar. Codepoint width does not predict terminal cells or proportional-font alignment. Longer-line handling is explicit.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool