Skip to main content

Text & Lists

Pad lines Text Processor

Transform text with Pad lines and the selected rules. Enter the text, set the transformation rules, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Transform text with Pad lines and the selected rules. Enter the text, set the transformation rules, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Pad lines Text Processor adds configured padding to delimiter-separated lines.

Padded lines with aligned widths. Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Enter the line or field delimiter.
  3. Set the padding character and target width.
  4. Check whether padding belongs on the left or right in the target format.

Example

Input: 7 42

Settings: Pad lines Text Processor: Use newline input and the operation's padding settings.

Result: Padded lines with aligned widths.

Limits

  • Pad lines Text Processor: Padding changes visual width without changing the underlying value meaning.
  • Pad lines Text Processor: Wide Unicode characters can display differently from character counts.
  • Pad lines Text Processor: The operation runs in the browser and does not need a network service.