HWP to PDF

approved

by kathar0s

Converts HWP/HWPX files to PDF (and optionally Markdown) on creation, fully offline using a WebAssembly renderer. No external server or API key required. - This plugin has not been manually reviewed by Obsidian staff.

79 downloadsUpdated 1mo agoMIT

HWP to PDF

Convert Korean HWP / HWPX documents to PDF (and optionally Markdown) the moment they land in your vault — fully offline. Conversion runs through a Rust + WebAssembly renderer (@rhwp/core), so no external server, upload, or API key is involved. Your documents never leave your machine.

Features

  • Automatic conversion when an .hwp / .hwpx file is added (or run it manually via the command palette).

  • Three output styles, chosen in settings:

    OutputColour & photosSearchableSize
    Image-based PDFexact, like the originalyes (invisible text layer)large
    Text-based PDFblack & white, no photosyes, pixel-perfect highlightstiny
    Markdown noteyesvery small

    Image-based PDFs embed an invisible text layer (each run horizontally scaled to match the page image) so they are searchable with well-aligned highlights. Markdown reconstructs paragraphs and tables (merged cells become HTML tables).

  • Offline & private — everything runs locally via WebAssembly.

  • Korean / English UI — follows your app language.

Settings

  • PDF conversion mode — image-based, text-based, or none.
  • Markdown note — also extract the text as a .md note.
  • Convert on add — auto-convert new files, or command-only.
  • Delete original after conversion — move the source file to the trash.
  • Render scale / JPEG quality — image-based PDF resolution and size.

Limitations

  • Image-based PDFs are large; text-based PDFs render all text in a single bundled font (NanumGothic) and omit colour and embedded photos.
  • Output quality depends on the @rhwp/core renderer; complex tables, equations, or unusual fonts may not be perfectly reproduced.
  • Desktop only.

Development

npm install
npm run build   # type-check, then bundle to main.js (WASM + font inlined)

The build inlines the WASM renderer and the font into main.js, so the release ships just main.js, manifest.json, and styles.css.

Credits & licenses

  • @rhwp/core — HWP/HWPX WebAssembly renderer (MIT)
  • pdf-lib and @pdf-lib/fontkit (MIT)
  • NanumGothic font © Naver Corp. (SIL Open Font License 1.1)

This project is released under the MIT License. See LICENSE.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.