.HWP

HWP File

Hangul Word Processor Document
Ask a question
QUICK ANSWER

An HWP file is a word processor document created by Hancom Hangul, the dominant office application in South Korea. To open it for free, use LibreOffice Writer or ONLYOFFICE Desktop on any platform. HWP files are a known malware delivery vector in targeted attacks, so scan any unexpected file before opening it.

Developer: Hancom Inc. (formerly Hangul and Computer) Category: Text Files Open standard MIME: application/x-hwp
OPENS ON Windows macOS Linux Web
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

19k+ extensions indexed
Last reviewed Aug 15, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the HWP file format?

.hwp files are associated with Hanword (formerly known as Hangul Word Processor), developed by Hancom Inc. of South Korea.

Files with the .hwp extension, besides text, can store text formatting information, charts, graphics, tables, and other document elements. The format uses an OLE2 Compound File Binary (CFBF) container - the same binary structure that underlies legacy Microsoft Word .doc files - with individual content streams compressed using zlib. The FileHeader stream inside the container opens with the ASCII signature HWP Document File.

Hangul is the name of the Korean alphabet. Hanword offers native support for Hangul characters, which is one of the main reasons for its enormous popularity on the Korean market. The Korean government and institutions have adopted Hanword as their standard word processor, making .hwp the de facto official document format in South Korea.

There are several tools for opening and converting .hwp files into other popular document formats. LibreOffice Writer supports .hwp natively, and Hancom provides a free Hancom Office Viewer. Because .hwp is deeply embedded in South Korean bureaucracy, it is also a frequent target of malware campaigns - malicious .hwp files exploiting embedded OLE objects are a documented attack vector used by APT groups including Lazarus Group. The format's successor, .hwpx, is an open XML-based container that became the Hancom Office default in April 2021.

Security & safety

RISK: HIGH

HWP is a documented malware delivery vector. North Korean APT groups (including Lazarus Group), as well as other threat actors, regularly exploit vulnerabilities in Hancom Hangul's OLE object and embedded script handling to deliver malware to Korean-speaking targets. Multiple CVEs affect Hancom Hangul. Never open an unexpected or unsolicited HWP file on a production system without scanning it first. For users who simply need to read the content of an HWP received from a known trusted source, using LibreOffice (which has a more limited attack surface than Hancom Hangul) or an online converter is safer.

Format details

in a nutshell
FULL NAMEHangul Word Processor Documentaka HWP file, Hangul document
DEVELOPERHancom Inc. (formerly Hangul and Computer)since 1989 (HWP 1.0, MS-DOS)
CATEGORYText Files
MIME TYPEapplication/x-hwp
TYPEOLE2 compound document (binary), word processor document
STANDARDOpen · royalty-free
This extension is also used by…
  • Haansoft HWP legacy variants (HWP 2.x/3.x) - Earlier binary formats (.hwp) from the DOS/early-Windows era, structurally different from HWP 5.x; rare today.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
D0CF11E0A1B11AE1
ASCII
········
HWP 5.x uses the OLE2/CFBF container - magic bytes are the standard Compound File Binary header. The internal stream layout identifies it as HWP: the 'FileHeader' stream begins with the HWP signature bytes 48 57 50 20 44 6F 63 75 6D 65 6E 74 20 46 69 6C 65 which is ASCII "HWP Document File". HWP 2.x/3.x are older proprietary binary formats with different magic; HWPX (the new default since 2021) is a ZIP/XML-based format (.hwpx ext).

Programs that open HWP files

Windows4 apps
LibreOffice Writer Open-source File → Open the HWP file. Built-in HWP 5.x import filter; layout fidelity may vary for complex documents.
Hancom Office Viewer Free Download and install Hancom Office Viewer; double-click the HWP file to view (read-only). Free official viewer.
Hancom Office (Hangul) Paid Open HWP natively for full editing. The reference application for the format.
ONLYOFFICE Desktop Editors Open-source Supports opening HWP and HWPX files since ONLYOFFICE Docs v7.5 (2023). Free desktop version available.
macOS2 apps
LibreOffice Writer Open-source File → Open the HWP file on macOS; built-in import filter.
Hancom Office (Hangul) Paid Available for macOS; full HWP editing.
Linux1 app
LibreOffice Writer Open-source File → Open the HWP file. Most practical option on Linux for viewing HWP.
Web1 app
CloudConvert (HWP converter) Freemium Upload HWP, convert to DOCX/PDF, download. Use when you only need the content and don't have a local viewer.

Technical details

deep spec
Container formatOLE2 Compound File Binary Format (CFBF); magic bytes `D0 CF 11 E0 A1 B1 1A E1` - same container as legacy `.doc`, `.xls`, `.ppt`
Internal signature`FileHeader` stream opens with ASCII string `HWP Document File` (hex: 48 57 50 20 44 6F 63 75 6D 65 6E 74 20 46 69 6C 65)
Byte orderLittle-endian throughout (OLE2 CFBF standard)
Content compressionPer-stream zlib compression applied to content streams inside the OLE2 container
MIME type`application/x-hwp` (also registered as `application/vnd.hancom.hwp`)
Internal streams`FileHeader`, `BodyText` (paragraphs), `DocInfo` (properties), `BinData` (embedded images/objects), `PrvText` (plain-text preview), `PrvImage` (thumbnail)
EncryptionOptional password protection using RC4 or AES; encrypted state flagged in the `FileHeader` stream
Version fieldHWP format version stored as `5.x.y.z` in the `FileHeader` stream (e.g., `5.1.0.0`)
Text encodingHangul and other Unicode text stored as UTF-16LE within content streams
Security riskDocumented malware delivery vector (APT campaigns including Lazarus Group); malicious embedded OLE objects are a known attack mechanism
Typical file size20 KB - 50 MB; grows substantially with embedded images or OLE objects
Successor format`.hwpx` - Hancom's open ZIP/XML-based format; became the Hancom Office default on April 15, 2021
Released1989 (HWP 1.0, MS-DOS)
Latest versionHWP 5.x (last widely used binary format; default changed to HWPX on April 15, 2021)
Open standardYes · royalty-free
Specificationwww.hancom.com

HWP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with HWP files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about HWP files.

Frequently asked questions

How do I open an HWP file without Hancom software?
LibreOffice Writer (free, all platforms) has a built-in HWP import filter - just open the file. ONLYOFFICE Desktop (free) also supports HWP since 2023. For a quick read, upload to CloudConvert and convert to PDF.
What is an HWP file?
A document created by Hancom Hangul, South Korea's most-used word processor. Structurally similar to a .doc file (both use the OLE2 container), but with Korean-specific layout features.
Can Microsoft Word open HWP files?
No - Word does not have a native HWP import filter. Convert the HWP to DOCX first using LibreOffice or an online converter, then open in Word.
Is the HWP file format safe?
HWP files are a known malware vector in APT attacks targeting South Korea. Only open HWP files from trusted senders; scan with antivirus first. For reading an HWP safely, prefer LibreOffice or an online viewer over Hancom Hangul on a production machine.
What's the difference between HWP and HWPX?
HWP 5.x is the older binary OLE2-based format; HWPX is the newer open XML+ZIP format (similar to DOCX vs DOC), which became Hancom's default in April 2021. Both are opened by Hancom Office; LibreOffice imports HWP and has growing HWPX support.
How do I convert HWP to PDF?
Open in LibreOffice and use File → Export as PDF (free, no internet needed), or upload to CloudConvert.com for a quick online conversion.

References

1pyhwp - Python HWP parser (ArchiveTeam)justsolve.archiveteam.org
2Hancom Office SDK (HWP format documentation)www.hancom.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.PARTPartial Download File
4.CRDOWNLOADChrome Partial Download File
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.MDMarkdown Document
8.AVIFAV1 Image File Format (AVIF)
9.NOMEDIAAndroid No-Media Marker File
10.RPMSGRestricted Permission Message

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.DOCXMicrosoft Word Open XML Document
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z