1. Home
  2. Documents
  3. HWP to Text

HWP to Text

Extract the body text of HWP and HWPX files as plain text or Markdown.

For every format and option in one place, use Document Viewer (HWP, Word, PDF) →

Runs in your browser · No upload For Korea

Drop an HWP or HWPX file to get the body as plain text, Markdown or HTML right away.

How to use

  1. Drop an .hwp or .hwpx file. This page opens on the Text tab. Enter the password for a protected document.
  2. Choose the output format: Plain text, Markdown or HTML.
  3. Set the options (collapse blank lines, tab-separate table cells); the result updates right away.
  4. Copy it or save it as .txt, .md or .html. Character counts (with and without spaces) and the line count appear below the result.

Output formats

Format How it is made Notes
Plain text Body text and text inside tables, in document order Line endings normalized to \n, trailing blank lines removed
Markdown The document is turned into HTML first, then converted Heading tags as #, lists as -, pictures left out
HTML Paragraphs and tables are exported as HTML and sanitized (DOMPurify) Saved as a standalone .html without scripts; the preview is shown in an isolated area

Options

  • Collapse repeated blank lines: several blank lines in a row become one. Lines with only spaces or tabs count as blank. (Text and Markdown)
  • Separate table cells with tabs: cells are separated by tabs and rows by line breaks, which pastes neatly into a spreadsheet. When off, the default order puts every cell on its own line. (Text)

The same table comes out differently. For a table Name, Age / Hong, 30:

Option Result
Tabs on Name⇥Age newline Hong⇥30 (⇥ is a tab)
Tabs off Name, Age, Hong, 30 each on its own line

Markdown table rules

  • A table without merged cells becomes a GFM table, with the first row as the header. For example | Item | Price |, then | --- | --- |, then | Apple | 1,000 |.
  • A | inside a cell becomes \|, and line breaks inside a cell become spaces.
  • A table with merged cells cannot be written as a Markdown table, so the HTML table is kept as is.

Good to know

  • Text outside the body, such as headers, footers, text boxes and footnotes, may be missing depending on the format. Compare important documents with the original.
  • A document made only of scanned pictures has no text, so the result is empty.
  • The screen shows only the first 20,000 characters, but copy and save use everything.
  • For detailed counts use the Character Counter, to compare two documents use Text Diff, and to convert HTML to Markdown use HTML to Markdown.
  • To use every feature in one place, open the HWP Viewer.

Your files are only processed in your browser and are never sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.