Skip to tool
ecech.
💻 Developer & Code

Convert Delimited Rows into an Explicit Fixed-Width Layout

Map columns to declared widths without guessing a schema or truncating overflow silently.

Fixed-width records

Converted row count

Record character width

Advertisement

How the calculation works

Input fields3OperationConverterReview outputs3

How to Use This Tool

Map columns to declared widths without guessing a schema or truncating overflow silently. Convert pasted delimited rows into fixed-width text using explicit column widths, rejecting records that would be silently truncated.

The exact task

A quick delimiter replacement cannot preserve column boundaries, and silent truncation can turn distinct identifiers into the same fixed-width value. This page transforms only delimited rows, column widths, single-character delimiter. It does not fetch a remote resource, inspect an account, guess an omitted schema or claim that syntactically tidy output is operationally safe.

Exact inputDocumented ruleReviewable output
Rows A,7 and BB,42 with widths 4,3 become two seven-character records: A followed by spaces then 7, and BB padded then 42.

Transformation rule

Split each record by one declared delimiter, require exactly one width per column, reject overflow, right-pad each value with spaces and concatenate columns. The default fixture is executable, so a future change that alters punctuation, ordering, escaping or validation will fail before publication. Try a small representative sample first and compare every generated token with the source.

How to interpret the output

Inspect spaces with a monospace editor and confirm encoding, byte width and line endings in the destination system before processing a full file. The supporting outputs—converted row count, record character width—make the transformation auditable rather than presenting one opaque block to copy.

Assumptions

  • Input fields do not contain the delimiter.
  • Widths are character counts, not encoded byte counts.
  • Values are left-aligned and padded on the right.

Keep the original text unchanged until the result has been tested in the destination system. Browser processing protects against an upload by this calculator, but it does not make sensitive material appropriate to paste into an untrusted device or extension.

Limitations and safety boundary

It is not a quoted CSV parser, treats JavaScript characters rather than encoded bytes, and does not support multibyte byte widths, headers or nested delimiters. This is a preparation and review tool, not a standards-complete parser, security assessment, legal determination or production deployment system.

Source and verification

The transformation rule was checked against MDN Web Docs — TextEncoder on 2026-08-26. Recheck the destination specification when its grammar can change. All processing here runs in the current browser tab; ecech receives no input through a calculation API.

Sources & assumptions

Tool Spec v2 · verified 2026-08-26. Platform rules and fees can change; the editable inputs remain authoritative for your account.

Official references

Model assumptions

  • Input fields do not contain the delimiter.
  • Widths are character counts, not encoded byte counts.
  • Values are left-aligned and padded on the right.
  • It is not a quoted CSV parser, treats JavaScript characters rather than encoded bytes, and does not support multibyte byte widths, headers or nested delimiters.
Advertisement

Frequently Asked Questions

What does Delimited to Fixed Width do?
It converts delimited rows, column widths, single-character delimiter into fixed-width records, converted row count, record character width under the displayed rule.
What known result verifies Delimited to Fixed Width?
Rows A,7 and BB,42 with widths 4,3 become two seven-character records: A followed by spaces then 7, and BB padded then 42.
Does valid output prove the policy or file is safe?
It is not a quoted CSV parser, treats JavaScript characters rather than encoded bytes, and does not support multibyte byte widths, headers or nested delimiters.
Which assumption matters most?
Input fields do not contain the delimiter.
Which source defines the syntax?
The recorded reference is MDN Web Docs — TextEncoder, reviewed 2026-08-26.
Is the pasted text uploaded?
No ecech processing API receives it; the JavaScript transformation runs in this browser tab.

Related tools in Developer & Code

Browse all Developer & Code tools
The person who builds ecech., at the desk where the tools are written.

Made by one person

ecech. is not a content farm. Every tool here is written and checked by hand, one at a time, by someone who wanted the tool to exist and could not find a version that showed its working.

No accounts and no sign-in, and nothing you type reaches a server — every calculation on this page runs inside your browser. The ads are served by Google and do set their own cookies, which is set out in full on the privacy page. More about the site.