Chuyển đến nội dung

PDF sang EPUB

Biến PDF thành sách điện tử tự giãn dòng theo màn hình.

Xử lý trên thiết bị của bạn

Công cụ này chạy hoàn toàn trong trình duyệt của bạn. Tệp của bạn không bao giờ được tải lên, và bạn có thể tự kiểm chứng điều đó trong tab mạng của trình duyệt. Tự kiểm chứng: mở tab mạng của trình duyệt và theo dõi. Bạn sẽ thấy một yêu cầu nhỏ hỏi xem bạn còn tác vụ nào không - một tên công cụ và một mã băm, không bao giờ là tệp.

Công cụ này làm gì

The reason people want this is specific: a PDF on a phone or an e-reader is close to unreadable. The page is a fixed sheet of A4 and the screen is not, so you either zoom and pan or squint at six-point type. EPUB re-flows to whatever width it is given, and that single property is the whole value of the conversion. It also means the original pagination is discarded - the text is rebuilt as a stream of chapters, paragraphs, headings and lists, not as a copy of the printed page.

Use it for anything long that you intend to read rather than consult: a book or manual that only exists as a PDF, a lengthy report you want to get through on a commute, a thesis, a set of papers going onto a Kobo. It is the wrong tool for anything where the layout is the content - a form, a score, a plan.

Cách hoạt động

  1. Drop the PDF onto this page. It is checked for a text layer, because there is nothing to re-flow in a scan.
  2. Choose where the chapters come from: bookmarks, detected headings, or page boundaries as a last resort.
  3. Fill in the title and author if the document's own metadata is wrong or missing - this is what an e-reader shows in its library.
  4. Under advanced options set the language if the document is not in the language of this page, and narrow the page range to skip front matter you do not want.
  5. Press Convert to EPUB, then send the file to your reader however you normally do.

Chapter detection is the feature, not a detail, because an e-book without chapter breaks is one long scroll with no table of contents and no way back to where you were. Bookmarks come first: a document's own outline is its author's statement of where the chapters are, and it beats any heuristic. Heading detection is the fallback, promoting short lines set in larger type. Page boundaries are the last resort - not really chapters at all, but at least somewhere to jump to.

Setting the language matters more than it looks. An EPUB carries a language tag, and readers use it to decide how to hyphenate and how a screen reader pronounces the text. Left on automatic, the tag follows the language of this page rather than the language of your document, which is a sensible default and the wrong answer if you are converting a Spanish book on an English interface.

Title and author are worth a moment even though they are optional. Left empty, they are taken from the PDF's own metadata, which is frequently the name of a template someone used in 2011 or the path of a Word file. That is what appears on your reader's shelf, next to a book with no cover.

Everything runs in your browser: the text extraction through PDF.js, the EPUB packaging through a ZIP writer in a Web Worker. No part of the book is uploaded, which is the honest answer to the question people ask about converters that handle copyrighted material.

Công cụ này không làm được gì

  • Pagination is discarded by design. Page numbers, running heads, footers and footnote positioning do not survive, because re-flowing text has no fixed pages to attach them to.
  • Pictures are not carried across. The EPUB is built from the document's text and structure only, so figures, diagrams and photographs are missing from the result.
  • A scan has no text layer and nothing to re-flow, so the conversion stops rather than producing an empty book. Run OCR PDF first.

Câu hỏi thường gặp

Tại sao lại chuyển PDF sang EPUB?
Vì PDF có kích thước trang cố định còn máy đọc sách thì không. Trên một màn hình sáu inch, một trang A4 hoặc quá nhỏ để đọc hoặc quá rộng để vừa, nên bạn dành cả cuốn sách để phóng to và kéo trượt. EPUB giãn dòng văn bản và để thiết bị đặt cỡ chữ, điều làm một tài liệu dài trở nên đọc được trên điện thoại.
Các chương được xác định như thế nào?
Từ mục lục dấu trang của tài liệu ở nơi nó có, vì đó là lời tuyên bố của chính tác giả về cấu trúc. Không có mục lục, tiêu đề được phát hiện từ cỡ chữ và dùng thay thế. Nếu không có cả hai, chọn ranh giới trang sẽ cắt ở mỗi trang - không phải chương thật, nhưng nó cho phần điều hướng của máy đọc thứ gì đó để dựa vào.
Các tranh minh họa có được chuyển sang không?
Không trong bản dựng hiện tại. EPUB được ghi từ văn bản trích xuất và cấu trúc của nó, nên hình, biểu đồ và ảnh chụp bị bỏ lại. Với một cuốn sách nhiều hình minh họa đó là một mất mát thật sự, và PDF sang HTML ở chế độ ảnh trang là lối đi tốt hơn nếu hình ảnh quan trọng hơn khả năng giãn dòng.
Cái này có hoạt động trên Kindle không?
Có, thông qua Send to Kindle, vốn chấp nhận EPUB và chuyển nó sang định dạng riêng của Amazon khi đến nơi. Chép tệp trực tiếp vào thư mục documents của thiết bị qua USB thì không được, vì Kindle không đọc EPUB một cách tự nhiên. Kobo, PocketBook, Apple Books và hầu hết máy đọc Android mở nó y như vậy.
Sách có được tải lên để chuyển đổi không?
Không. Việc trích xuất văn bản và đóng gói EPUB đều diễn ra trong trình duyệt của bạn, nên không có gì về tài liệu được truyền đi - điều đáng nói ở đây, vì các tệp người ta chuyển đổi thường là sách họ sở hữu và không muốn giao cho một bên thứ ba. Nó hoạt động khi đã tắt kết nối.

Công cụ liên quan