Skip to main content

esf-convert

Convert ECHO Single Form (ESF) XML files to Markdown or Word documents.

Web Interface

Use the converter directly in your browser - no installation required:

Launch Web App The web app runs entirely client-side using WebAssembly. Your files are never uploaded to any server.

Installation

uv tool install esf-convert

Usage

# Convert to Word document (default)
esf-convert form.xml

# Convert to Markdown
esf-convert form.xml -f md

# Specify output file (format auto-detected from extension)
esf-convert form.xml -o report.md

# Explicit format with custom output name
esf-convert form.xml -f md -o my-report

Options

Option Description
-o, --output Output file path (default: input filename with .docx extension)
-f, --format Output format: docx (Word, default) or md (Markdown). Auto-detected from output extension if not specified.

Features

  • Structured output - Chapters, sections, and subsections with proper heading hierarchy
  • Complete report structure - Preserves numbered sections even when their response is blank, including final-report fields
  • Field tips - Form guidelines/tips displayed in italics below each field heading
  • Enum labels - Numeric values (0, 1, 2) converted to human-readable labels (No, Yes, Partially, etc.)
  • Outcome indicators - Section 7.2 indicators with definition, baseline, target, and progress values
  • Results - Section 7.3 results with indicators and activities
  • Final-report details - Achieved values, final sources and totals, indicator reports, activity reports, and result conclusions
  • Metadata - Reference numbers, dates, document type (YAML frontmatter in Markdown, table in DOCX)

Development

Requires Python 3.10+.

Metadata

Release files for esf-convert 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esf-convert 1.1.1
File Size Uploaded
esf_convert-1.1.1.tar.gz 28.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esf-convert 1.1.1
File Interpreter ABI Platform
esf_convert-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 40.9 kB

Release files / esf_convert-1.1.1.tar.gz

Download URL esf_convert-1.1.1.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
865958387da53d6425436784d864ac031ea36994f31d1764d4d6cfe4f8867347
BLAKE2b-256 checksum
How to use checksums
8823e7283f0921cd52e664cd56b629eff22af9f877bdc21dad59f12c782c3530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 9, 2026.

Transparency log

Release files / esf_convert-1.1.1-py3-none-any.whl

Download URL esf_convert-1.1.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5db1abf7292e956f5237bdb1af9071d404e6bcbc20131f1425a77cc5299825c6
BLAKE2b-256 checksum
How to use checksums
d271fe56988648fd11d57b69f63693d4cea2d97bc096ffd8d838e8075f1a7cb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page