Skip to contentSkip to the inputSkip to the result

HWPX document viewer

Read text and tables from an HWPX document locally.

Loading tool

Instructions

HWPX document viewer

How to use

  1. Choose one HWPX file.
  2. Read its text, search content and download a text copy.

Supported input

  • One file up to 20MB.
  • Footnotes and endnotes are numbered and gathered at the end, and PNG, JPEG, GIF, BMP and WebP pictures are shown in place.
  • Legacy .hwp files are not supported; this is not a layout-perfect office viewer.

Input example

A sample HWPX with text and a table

Result example

1		2
		3
5	4	

Troubleshooting

  • Check the supported format, file size and page selection.

How it works

  • Read text and tables from an HWPX document locally.

Reading HWPX without Hangul: what is inside and what the viewer checks

What an HWPX file really is

HWPX is the XML-based format of Hancom’s Hangul word processor, widely used in Korean government offices and schools; think of it as Korea’s counterpart to .docx. The file is a ZIP holding XML parts and images, and its structure is the Korean national standard KS X 6101, “Open Word-Processor Markup Language (OWPML) document structure”, established on 30 December 2011 and last reviewed on 30 October 2024. Unlike the older binary HWP format, its content becomes readable text once unzipped.

A small test document with one table contains 10 entries, 53,816 bytes once expanded. The first entry, mimetype, says “application/hwp+zip”; Contents/content.hpf lists the body sections in order; Contents/section0.xml (8,367 bytes) holds paragraphs and tables; Contents/header.xml (37,206 bytes) holds fonts and paragraph styles. Images live in a BinData folder and a preview text and picture in Preview.

Checks before anything is shown

  • The ZIP directory: at most 256 entries and 80 MB once expanded. Expansion stops the moment an entry grows past its declared size, which defuses “zip bombs” that inflate from kilobytes to gigabytes.
  • Paths and names: an entry that climbs out of the folder with ../ or repeats another entry’s name is refused, as are ZIP64 and multi-part archives.
  • Checksums: every body part that is read has its CRC-32 recomputed and compared with the value in the ZIP; any mismatch marks the document as damaged.
  • Type and encryption: without “application/hwp+zip” in mimetype the file is not treated as HWPX. Encryption data in META-INF/manifest.xml marks a password-protected or distribution-locked document, which is not opened.
  • XML: parts containing a DTD or custom entities are not read, closing off the trick of nesting short definitions until they fill memory.
  • Time: reading may take 8 seconds plus one second per MB of file, up to 30 seconds, and is stopped after that.

Worked example: a footnote, an endnote and a merged header

  1. 1The test document has a footnote after its first words, an endnote a little later, and a budget table whose first row is one cell merged across three columns.
  2. 2As TXT, the body line ends with the markers [1] and [i] where the notes stood, and the note texts follow at the end under separate headings for footnotes and endnotes.
  3. 3The table’s first row is the merged title followed by two empty cells; the second row reads a label, =1+1 and -1,200. A merged cell’s value is written only in the cell where it starts.
  4. 4Saved as CSV, every value is wrapped in double quotes and =1+1 becomes '=1+1, so a spreadsheet will not run it as a formula. Plain numbers such as -1,200 and 12.5% are left alone.

How the export formats differ

  • TXT: one line per table row with tabs between cells. Line breaks inside a cell become “ / ” and tabs become spaces, so rows and columns stay aligned.
  • Markdown: a pipe table with the first row as its header; a | inside a cell is escaped as \|, and merged cells are flattened.
  • HTML: merged cells keep their rowspan and colspan, and images are embedded in the file, so the page still shows them when moved on its own.
  • CSV: CRLF line endings and a UTF-8 byte order mark at the start, so Excel opens Korean text without garbling it.

What you will not see, and why

Large tables show their first 300 rows and 100 columns, with a note saying so. A body section larger than 2 MB is skipped while the rest of the document is read. Search compares your text literally, ignoring upper and lower case.

All of the checking and reading happens in a separate Web Worker on your device. That is why a personnel file or an internal memo in HWPX can be read here without being sent to a server.

Checked

Frequently asked questions

Can I read an HWPX file without Hangul installed?

Yes, for the content. Body paragraphs and tables are read in the browser, and you can search within them. Pictures (PNG, JPEG, GIF, BMP, WebP) appear in place, and footnotes and endnotes are marked [1] or [i] and gathered at the end. Save the text as TXT, Markdown or HTML and tables as CSV. Fonts and page layout are not reproduced.

Does it open HWP files?

No, the older HWP format is not supported. Re-save the document as HWPX in Hangul first. A file that only has its extension changed to .hwpx is not treated as a document.

Is there a size limit, and is the file uploaded?

One HWPX file up to 20MB. It is not uploaded; it is read in a separate worker on your device. Encrypted or damaged documents are rejected, and reading is stopped if it takes longer than 8 seconds plus one second per MB of file, 30 seconds at most.