# Fixed-Width Column Parser

Parse fixed-width text with explicit or inferred field boundaries, character or UTF-8 byte positions, schemas, and anomaly reports.

> Canonical page: https://elysiatools.com/en/tools/fixed-width-column-parser

- **Category:** Text Processing

- **Keywords:** text, fixed width, parser, columns, schema, ETL

## Overview

Fixed-Width Column Parser converts aligned text records into structured JSON using an explicit schema or inferred field boundaries. Choose character or UTF-8 byte positions, optionally treat the first row as headers, trim values, and review parsed rows with anomaly information.

## Inputs

- **Text Input** (textarea): Paste fixed-width records...
- **Parse Mode** (select)
- **Schema JSON** (textarea): \[{"name":"id","start":0,"end":5}\]
- **Position Mode** (select)
- **First row is header** (checkbox)
- **Trim field values** (checkbox)

## When to use

- Parse legacy fixed-width reports into named fields for ETL workflows.
- Use a known schema when field start and end positions are documented.
- Inspect aligned text with inferred columns and identify extra or inconsistent data.

## How it works

- Paste the fixed-width records into the Text Input field.
- Select Schema to use Schema JSON, or select Infer to derive boundaries from aligned whitespace.
- Choose character positions or UTF-8 byte positions for field boundaries.
- Optionally mark the first row as a header and trim field values, then review the structured JSON result and anomaly report.

## Use cases

- Convert fixed-width operational reports into structured records for data preparation.
- Parse text exports with documented field ranges and named schemas.
- Validate aligned records by detecting trailing data and other parsing anomalies.

## Frequently asked questions

### What input does the parser accept?

It accepts fixed-width text records pasted into the Text Input field.

### Can I define the columns manually?

Yes. Select Schema and provide JSON fields with names plus start and end positions.

### Can the tool infer column boundaries?

Yes. Select Infer to derive boundaries from aligned whitespace in the text.

### Are positions measured in characters or bytes?

You can choose Characters or UTF-8 bytes with the Position Mode setting.

### What does the output contain?

The JSON result includes the resolved or inferred schema, parsed rows, a preview, and an anomaly report.

## Related tools

- [Bulk Email Extractor](https://elysiatools.com/en/tools/bulk-email-extractor): Extract all email addresses from input text, articles, web source code, or mixed content. Supports deduplication and export to JSON.
- [Messy Text to Structured Data Workbench](https://elysiatools.com/en/tools/messy-text-to-structured-data-workbench): Infer tables from pasted text, mixed delimiters, key-value lines, or HTML and export CSV, JSON, and Markdown.
- [Terraform Plan Visualizer](https://elysiatools.com/en/tools/terraform-plan-visualizer): Parse Terraform plan JSON or text output, classify resource changes, and surface a dependency-oriented summary before apply
- [Text NLP Annotation Workbench](https://elysiatools.com/en/tools/text-nlp-annotation-workbench): Run explainable local tokenization, sentence splitting, stopword, lemma, stem, entity and n-gram annotation with JSONL or CoNLL export.
- [Text to JSON Converter](https://elysiatools.com/en/tools/text-to-json): Convert various text formats to JSON with customizable parsing options
- [JSON Key Extractor](https://elysiatools.com/en/tools/json-key-extractor): Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.
- [Structured Log Analyzer](https://elysiatools.com/en/tools/structured-log-analyzer): Detect common log formats, extract core fields, infer field types, and export parsed logs as JSON, CSV, or SQL inserts
- [Text Encoding Forensics and Repair](https://elysiatools.com/en/tools/text-encoding-forensics-and-repair): Inspect text encoding, BOM, newline style and mojibake symptoms, then produce a scored local repair candidate.

## Samples

- [Distributed Tracing Samples](https://elysiatools.com/en/samples/distributed-tracing-samples): Comprehensive distributed tracing examples using Jaeger, OpenTelemetry, and other modern observability tools for microservices architecture
- [JWT Samples](https://elysiatools.com/en/samples/jwt-samples): Comprehensive JWT examples from basic token structure to advanced security implementations
- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [WebRTC Real-Time Communication Samples](https://elysiatools.com/en/samples/webrtc-samples): Comprehensive WebRTC samples for peer-to-peer audio/video communication, data channels, screen sharing, and signaling server implementation

## Related content

- [Semi-Structured Text Parsing and Table Extraction](https://elysiatools.com/en/hubs/semi-structured-text-table-extraction): Parse fixed-width records, messy delimited text, logs, Markdown tables, and HTML tables into CSV, JSON, XML, or Excel with reviewable cleanup steps.
