Fixed Width Record Designer

Fixed Width Record Designer

Generate and parse multiple fixed-width records using byte widths.

This handles LF-delimited text records. Headers, checksums, binary fields, charset guessing and remote file lookups are outside its scope.

1. Byte field schema

Padding uses one ASCII character, including space. Widths and offsets count bytes before the record newline.

Field names and byte offsets
Field nameWidth (bytes)AlignmentPad characterByte offsetRemove
0–3
4–12
13–20

3 fields · 21 bytes per record

2. Record values

A value exceeding its byte width is rejected, never truncated. Line breaks inside values are not allowed.

Editable record table
RowcodenamestatusRemove
1
2

3. Parse an existing file

Use the current field schema and encoding for a local file. LF and CRLF are accepted; every record must match the byte width.

Edit a schema and values or select a file.

Comments & questions

Fixed Width Record Designer

Choose the byte width and alignment of each field to create a line-delimited fixed-width file or read a local file with the same schema. A character crossing a byte boundary causes a clear error.

Key features

  • Set a 1–256-byte width, name, left/right alignment and ASCII pad per field
  • Emit and parse up to 200 records with UTF-8 or a pinned CP949 character map
  • Reject Korean multibyte splits, field overflow, malformed bytes and unrepresentable characters
  • Inspect each field's byte start/end and the first 96 bytes in hexadecimal
  • Download a fixed-width .dat file and reusable JSON field schema
  • Process local files in browser memory without a network request

How to use

  1. Edit the sample schema and choose UTF-8 or CP949.
  2. Set each field's name, byte width, alignment and one-character ASCII pad.
  3. Enter multiple rows of values and generate the fixed-width file.
  4. Inspect byte offsets and the preview, then download the .dat file.
  5. To read an existing file, keep the same schema and select it locally; review the parsed table.

Use cases

  • Draft a legacy line-delimited bank or logistics exchange file
  • Test whether a Korean CP949 field fits a contracted byte width
  • Explain exact byte offsets when exchanging a record schema with a partner
  • Find a UTF-8 Korean character split at a field boundary in an existing file

Frequently asked questions

How is byte width different from character count?

One Korean character normally occupies three UTF-8 bytes or two supported CP949 bytes. Widths and offsets here use the actual encoded byte count, not the number of characters.

Are long values truncated to fit?

No. The tool never cuts through a character or silently drops content. It reports the row and field when the encoded value exceeds its width and blocks output.

How are records separated?

An LF byte follows each emitted record. The parser accepts LF or CRLF and also accepts a final record without a newline. Embedded line breaks and a UTF-8 BOM are not supported.

What if the value itself contains the pad character?

Parsing removes that pad character at the selected edge, so identical data characters at that edge cannot be distinguished from padding. Inspect original file bytes when that matters. Downloading an imported file retains its original bytes.

Which CP949 characters are supported?

The tool reuses the pinned WHATWG EUC-KR character index from the existing encoding workbench. Characters outside that mapping, including emoji, and malformed bytes are rejected instead of replaced.

Is my selected file uploaded?

No. Selected file bytes are read only in the browser tab. The tool does not fetch external files or contact a remote service.

Privacy

Field schemas and record values are processed in browser memory. A selected local file is not uploaded; downloaded files contain the values you entered.

Related Tools

Text File Encoding WorkbenchBinary Protocol DesignerJSON ↔ CSVDOCX Style AuditorCitation ManagerDocument Search IndexSigned PDF InspectorPDF/A Archival PreflightPrint Preflight AuditorSearchable Scan PDF MakerPublication Accessibility AuditorResearch Evidence MatrixPDF Form DesignerPDF Annotation StudioPDF Object InspectorPDF Outline EditorEPUB Authoring WorkbenchDocument Version ComparatorBooklet Imposition DesignerSensitive Text RedactorHanja Reading WorkbenchGrammar Production LabDialogue Script EditorBook Index BuilderBilingual QA CheckerText Diagram EditorANSI Art StudioEmail Thread ExplorerPDF Redaction StudioRich Text SanitizerPresentation Rehearsal StudioText Tokenization LabThree Way Text MergeKorean & English Braille ConverterText to SpeechTyping speed testKorean Text Pattern ReviewKorean Spelling QuizFont Preview and ComparisonHTML to MarkdownMojibake RepairSort LinesFind & ReplaceReverse TextRoman Numeral ConverterHangul Jamo ConverterKorean Initial ConsonantsAdd or Remove Line NumbersNumber to Korean WordsMorse Code ConverterROT13 & Caesar ConverterURL Slug GeneratorHTML Tag RemoverEmoji CollectionCharacter CounterUnit ConverterFile Size ConverterColor Code ConverterText DiffPDF Merge/SplitBusiness Day CalculatoriCalendar Rule LabvCard Address Book EditorJPG to PDFKorean Name RomanizerOrganize PDF PagesFancy Font GeneratorContrast CheckerColor Palette GeneratorPDF to JPGLorem Ipsum GeneratorText Template WorkbenchKorean-English Typo ConverterText CleanerOnline NotepadWord Cloud GeneratorPDF UnlockEnglish Address ConverterPDF Compressor
Explore all Text/Convert tools →Image/Media →Life/Fun →Dev Tools →