PDF를 HTML로 변환
PDF를 웹 페이지로 바꿔요. 읽기 좋은 텍스트로, 또는 페이지 그림으로요.
이 도구는 브라우저 안에서만 실행돼요. 파일은 절대 업로드되지 않으며, 브라우저의 네트워크 탭에서 직접 확인할 수 있어요. 직접 확인해 보세요. 브라우저의 네트워크 탭을 열어 두고 지켜보면, 남은 작업이 있는지 묻는 작은 요청 하나만 보여요. 도구 이름과 해시뿐이고, 파일은 절대 포함되지 않아요.
이 도구가 하는 일
There are two ways to turn a PDF into a web page, and they suit different people, so both are here. Text mode writes headings, paragraphs, lists and links as real HTML: it will not look like the PDF, and that is the point, because it re-flows on a phone, it is searchable, and a screen reader can follow it. Page pictures mode renders every page as an image with the extracted text positioned invisibly over it - identical to the PDF, and close to useless on a small screen. Either way the result is one self-contained file.
Use text mode when a document has to be readable on a phone, indexable by a search engine, or usable with a screen reader - a policy, a manual, a report that people keep pinch-zooming. Use page pictures when appearance is the whole point and the file has to look like the original: a form, a certificate, a signed letter being shown rather than read.
작동 방식
- Drop the PDF onto this page. In text mode the file is checked for a text layer first, and a scan is refused with a pointer to OCR PDF.
- Pick the mode: text for a readable page that re-flows, page pictures for something that matches the original exactly.
- Leave Complete HTML document and Put the styles inside the file on unless you are pasting the result into a page you already have.
- In page pictures mode, set the resolution. 120 dpi is legible on screen; 200 dpi is sharper and roughly three times the bytes.
- Press Convert to HTML and the single .html file downloads.
The output is one file with its stylesheet inlined, so it opens from a folder or an email attachment without the missing-stylesheet page that a linked CSS file produces. It is also written to stay readable with CSS switched off entirely. That is partly an accessibility property and partly a proof of what is underneath: markup that means something, rather than a heap of absolutely-positioned spans arranged to look right.
Text mode reads the page in one column. Multi-column layouts, sidebars and text boxes are flattened into a single reading order, which is the trade you are making in return for a page that works at 360 pixels wide.
In page pictures mode the images are embedded as data URIs rather than written as a folder of files next to the HTML. Base64 costs about 33 per cent over the raw bytes, which is worth paying for a file that can be mailed as one attachment. It does mean a long document at 200 dpi becomes heavy, so start at the default and raise it only if the result looks soft.
Rendering and text extraction both happen in your browser through PDF.js. Nothing about the document is transmitted, including in page pictures mode, where the images are produced on your own device rather than by a rendering server somewhere.
이 도구가 할 수 없는 일
- Text mode does not preserve the layout. Columns collapse into one, absolute positioning is dropped, and the page reads top to bottom.
- Page pictures mode embeds every page as base64 inside the file, which adds about a third to the size of the images and makes a long document slow to open.
자주 묻는 질문
- 두 방식은 무엇이 다른가요?
- 텍스트 방식은 단어를 뽑아 진짜 HTML을 써요. 제목, 문단, 목록, 링크가 살아 있어서 화면 폭에 맞게 다시 흐르고 스크린 리더도 따라갈 수 있어요. 페이지 그림 방식은 각 페이지를 이미지로 그리고 그 위에 텍스트를 보이지 않게 얹어서, 원본과 똑같고 검색도 되지만 화면에 맞춰 바뀌지는 않아요. 읽는 것과 알아보는 것 중 무엇이 더 중요한지로 고르세요.
- HTML이 제 PDF처럼 보이나요?
- 텍스트 방식에서는 아니고, 일부러 그렇게 해요. 글꼴과 단, 페이지 형태를 버려야 내용이 어떤 화면 폭에도 다시 흐를 수 있어요. 페이지 그림 방식에서는 각 페이지가 PDF를 찍은 그림이라 보기에 똑같아요.
- 문서 안의 그림도 넘어오나요?
- 페이지 그림 방식에서는 넘어와요. 삽화까지 포함해 페이지 전체를 이미지로 그리니까요. 텍스트 방식에서는 안 넘어와요. 텍스트와 구조만 쓰거든요.
- 결과가 파일 하나인가요, 폴더인가요?
- 언제나 파일 하나예요. CSS는 안에 넣고 페이지 이미지는 데이터 URI로 담아서, 파일을 옮기거나 메일로 보내도 잃을 것이 없어요. 완전한 HTML 문서를 끄면 기존 페이지에 붙여넣을 조각만 나와요.
- 업로드되는 것이 있나요?
- 아니요. 텍스트 추출과 페이지 렌더링 모두 브라우저의 Web Worker에서 돌아가요. 그래서 해상도 설정은 대기줄 길이가 아니라 내 기기가 일하는 시간에만 영향을 줘요. 변환하는 동안 네트워크 탭을 보면 아무것도 나가지 않아요.