15 September 2026
Converting Compressed AbiWord (ZABW) to Markdown: Gzip XML Document Extraction
Converting Compressed AbiWord (ZABW) to Markdown: Gzip XML Document Extraction
AbiWord, the lightweight open-source word processor originally developed by SourceGear Corporation as part of the AbiSource project, pioneered transparent XML storage for word processing documents. To eliminate the file size bloat associated with verbose XML tags, AbiWord introduced the .zabw extension: a lossless Gzip-compressed container packaging complete AWML (AbiWord Markup Language) documents.
In this guide, we explore how .zabw documents are structured, how styles and Dublin Core metadata are defined, and how convrtr decompresses and converts them to GitHub Flavored Markdown (GFM) directly in the browser.
1. Decompressing the ZABW Container
A .zabw file is a Gzip archive containing a single XML document. The first two bytes contain the RFC 1952 magic header:
- Byte 0:
0x1F - Byte 1:
0x8B(Gzip ID flags)
When convrtr receives a file, it checks these magic bytes. If present, it decompresses the compressed bitstream in memory using pure WebAssembly/JavaScript deflate decompression routines, yielding the underlying AWML XML text.
2. The AbiWord Document Object Model (AWML)
The decompressed XML follows the AbiWord AWML schema:
<abiword fileformat="1.0">
<metadata>
<m key="dc.title">Research Summary</m>
<m key="dc.creator">Linus Torvalds</m>
<m key="dc.subject">Operating Systems</m>
</metadata>
<section>
<p style="Heading 1">Introduction</p>
<p>This is a paragraph with <c props="font-weight:bold">bold</c> text.</p>
<table>
<cell><p>Header 1</p></cell>
<cell><p>Header 2</p></cell>
</table>
</section>
</abiword>
3. Structural Mapping to Markdown
convrtr maps AWML elements directly to GitHub Flavored Markdown structures:
- Headings: Paragraphs with
style="Heading N"orprops="heading-level: N"translate to#,##,###, etc. - Inline Formatting: Character runs (
<c props="...">) translate:font-weight: boldbecomes**bold**font-style: italicbecomes*italic*text-decoration: line-throughbecomes~~strike~~- Monospace font families become backtick code spans
- Hyperlinks:
<a href="...">text</a>tags convert to[text](url)links. - Lists: Paragraphs carrying bullet or list attributes map to bulleted list items
- item. - Tables:
<cell>nodes inside<table>blocks convert into GFM pipe tables with formatted headers and dividers. - Frontmatter: Dublin Core metadata (
dc.title,dc.creator,dc.subject) is serialized as clean YAML frontmatter.
4. Total Privacy Guarantee
Because convrtr executes 100% inside your web browser, confidential business contracts, personal essays, and sensitive documents never touch an external server or API.
Related reading
Converting AbiWord (.abw, .zabw) to Markdown: Open-Source Word Processing Recovery
Examine AbiWord's native AWML XML document architecture. Learn how Dublin Core metadata, 2D table grids, styled character spans, GZIP compression, and base64 illustrations convert into clean Markdown.
Converting Hangul Word Processor (HWP) to Markdown: OLE CFB & Deflate Forensics
Unpack Hancom Hangul HWP 5.x compound documents. Discover how OLE 2.0 CFB directory tables, Deflate stream decompression, and HWPTAG_PARA_TEXT record parsers extract clean Markdown in browser memory.
Converting ClarisWorks and AppleWorks CWK to Markdown: Recovering Vintage Mac Documents
Learn how to extract text, paragraphs, and headings from vintage ClarisWorks and AppleWorks (.cwk) MacBinary files into clean GitHub Flavored Markdown with 100% private in-browser decoding.
Converting OpenOffice SXW to Markdown: Unpacking Pre-ODF XML Document Archives
Learn how OpenOffice.org 1.x and StarOffice Writer (.sxw) XML packages work. Discover how to extract text, tables, and lists into clean Markdown directly in your browser.
Converting StarOffice & StarWriter (SDW) to Markdown: OLE Compound Binary Forensics
Recover text, headings, bullet lists, and metadata from vintage StarOffice 3.x–5.x (.sdw) word processing documents. Learn how OLE CFB streams unpack to GitHub Flavored Markdown.
Converting Apple RTFD Bundles to Markdown: Rich Text & Attachment Extraction
Learn how Apple macOS RTFD compound packages bundle Rich Text Format documents with graphic attachments, and how to convert them into GitHub Flavored Markdown 100% offline.