HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
coolwanglu
pdf2htmlEX
HTML2012–2026
coolwanglu / pdf2htmlEX · Archived

pdf2htmlEX

Convert PDF to HTML without losing text or format.

19Distinct people
22Mentions
0Explicit recommenders
10.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Convert PDF to HTML without losing text or format.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2012-10-04 00:09:41 UTC to 2026-08-25 16:04:24 UTC.

012342012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20122013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 4 mentions; 2 submissions, 2 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC202
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC321
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC422
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC202
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC101
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC303
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

22 sources
If you are like me who was a fan of pdf2htmlEX, you would be almost as heart-breaking as me when it's archived about 8 years ago. Another attempt to release and RC was 6 years ago. At some point, one cannot even compile it anymore. This is why I decided to give it a go with Ox-Alpha. After running 40 workflows, I finally did it, and validated it on macOS and Ubuntu. I made three design decisions: 1. upgrade the dependencies (obviously) to make it compilable; 2. the resulting binary should be statically linked so anyone can download it and run; 3. Drop windows support. Feel free to have fun with it. I will find some time to curate a list of PDFs for testing purposes, and I'm open to bug and improvements through issues. But since this is agent-assisted, I disabled PR. If you want your own flavor of pdf2htmlEX, please don't hesitate and fork
Read the rest
! All credits go to the original developers of pdf2htmlEX, especially the creator coolwanglu Additional links: - original repo: https://github.com/coolwanglu/pdf2htmlEX - popular fork: https://github.com/pdf2htmlex/pdf2htmlex
In [dead]
"Free" book. Actually a really annoying (to the point of unusable) dynamic-loading paginated html page. Surely nobody'd ever want to learn anything (much less RISC-V assembly) like this. <!-- Created by pdf2htmlEX (https://github.com/coolwanglu/pdf2htmlex) --> The PDF itself nowhere to be found, although I expect one will be generated by hackish means and uploaded somewhere soon. (edit: z-library and Anna's both have it as PDF) The simulator is similarly locked behind the webbrowser, but seems to be at least based on an open source one[0]. Whether it has been modified is unclear. 0. https://github.com/antoniocgj/RISC-V-ALE
In RISC-V Assembly Programming
I don’t think it’s a question of standards. It’s more that HTML and PDF are different things that solve different problems. PDF is supposed to be a static document that looks exactly the same in every compliant PDF reader. A correctly built PDF with have every glyph that it uses embedded, for example. It’s archival, in the sense that it will always look the same, in all future versions of PDF readers. HTML is markup that describes the author’s intentions to the browser. The reader can use his or her own fonts and have other preferences. The text might reflow to fit screens of various sizes. I can read it on my terminal with lynx. You can embed all kinds of resources from the network. One can take heroic measures¹ to force an exact rendering, but, in my opinion, that’s a dead end that hacks a markup system to do what it’s not intended to d
Read the rest
o. PDF works great on the web; we don’t need to force HTML to replicate its abilities. It already has hyperlinks, and we can seemlessly navigate bewteen PDF and HTML pages in the browser. [1] https://github.com/coolwanglu/pdf2htmlEX
In Ask HN: Why has PDF not been replaced with HTML5?
I'm parsing PDFs and extracting tabular data - I am using this library https://github.com/coolwanglu/pdf2htmlEX to convert the PDF into HTML and then parsing thereafter. It works reasonably well for my use-case but there are all kinds of hacks that I've had to put in place. The system is about 5-6 years old and has been running since. The use-case is basically one where there is a tabular PDF uploaded every week and the script parses it to extract the data. Thereafter a human interacts with the data. In such a scenario, every ~100 parses it fails and I'll have to patch the parser. Sometimes text gets split up, but as long as the parent DOM node is consistent I can pull the text of the entire node and it seems to work fine.
In What's so hard about PDF text extraction?

SEEKING FREELANCER – Work on a Web-Based Document Rendering and Tool

Many of the world's most important documents are locked away in PDFs - perhaps the world's worst file format. Let's work to right that wrong. I am assembling a team of sharp individuals to design and develop an application that can be used to render PDFs in a browser with zero loss of fidelity (this is important as many of my use cases deal with TeX) and functions to annotate and markup the document. Markup could be collaborative.<p>The tools available in the marketplace are subpar at best - let's raise the bar and give people tools they're actually excited to use :-)<p>Some potential components: https://github.com/coolwanglu/pdf2htmlEX https://github.com/kermitt2/grobid https://github.com/openannotation/annotator https://github.com/hyperstudio/Annotation-Studio https://developers.google.com/drive/realtime/overview http://quilljs.com/<p>F
Read the rest
ind me on Skype at tom.p.griffin or you may email me at innovation@ieee.org. Looking forward to speaking with you and seeing how you can help :) :) :)
1 points · Open discussion

Showing the 15 most recent of 22 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.