PDF conversion: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
Line 14: Line 14:
* ([[OCR]]) [https://pdfcandy.com/tw/pdf-ocr.html PDF 轉文字–免費線上OCR轉換工具] 免費版限制:一小時轉換一個檔案,檔案大小也有限制{{access | date=2022-10-07}}
* ([[OCR]]) [https://pdfcandy.com/tw/pdf-ocr.html PDF 轉文字–免費線上OCR轉換工具] 免費版限制:一小時轉換一個檔案,檔案大小也有限制{{access | date=2022-10-07}}


[https://www.xpdfreader.com/pdftotext-man.html pdftotext]
[https://www.xpdfreader.com/pdftotext-man.html pdftotext] ([[Convert pdf to txt|Quick Start]])
* On {{Win}}: Part of [https://www.xpdfreader.com/index.html XpdfReader], dual licensed under GPL v2 and GPL v3<ref>[https://www.xpdfreader.com/opensource.html Xpdf Open Source]</ref>
* On {{Win}}: Part of [https://www.xpdfreader.com/index.html XpdfReader], dual licensed under GPL v2 and GPL v3<ref>[https://www.xpdfreader.com/opensource.html Xpdf Open Source]</ref>
* On {{Mac}} & {{Linux}}: Part of [https://poppler.freedesktop.org/ Poppler]<ref>[https://brewinstall.org/install-pdftotext-mac-osx/ Install pdftotext on Mac OSX - Brew Cask | BrewInstall]</ref> (GPL v2 or later), historically derived from Xpdf ([https://en.wikipedia.org/wiki/Pdftotext Wikipedia]) {{access | date=2023-06-02}} {{Gd}}
* On {{Mac}} & {{Linux}}: Part of [https://poppler.freedesktop.org/ Poppler]<ref>[https://brewinstall.org/install-pdftotext-mac-osx/ Install pdftotext on Mac OSX - Brew Cask | BrewInstall]</ref> (GPL v2 or later), historically derived from Xpdf ([https://en.wikipedia.org/wiki/Pdftotext Wikipedia]) {{access | date=2023-06-02}} {{Gd}}

Revision as of 10:31, 6 January 2026

PDF 轉換

PDF 轉換成純文字 (TXT)

pdftotext (Quick Start)

  • On Win Os windows.png : Part of XpdfReader, dual licensed under GPL v2 and GPL v3[2]
  • On macOS icon_os_mac.png & Linux Os linux.png : Part of Poppler[3] (GPL v2 or later), historically derived from Xpdf (Wikipedia) [Last visited: 2023-06-02] Good.gif
  • Usage: pdftotext [options] [PDF-file [text-file]] e.g. pdftotext -enc UTF-8 example.pdf example.txt

py-pdf/pdfly: CLI tool to extract (meta)data from PDF and manipulate PDF files "A CLI application that uses pypdf to interact with PDFs."

  • License: BSD 3-Clause License Good.gif
  • Usage: pdfly extract-text PDF-file > text-file
  • Known issues: On Windows systems with Chinese locales (cp950), PDF text extraction may fail with Unicode encoding errors when encountering certain special characters like '\u25aa' (BLACK SMALL SQUARE). This is a character encoding limitation of the default Windows codepage[4].
  • Requirement: Python

mupd (part of MuPDF)

PDF 轉換成 Word 或 RTF

  • Good.gif Microsoft OneDrive PDF 轉 Word 操作步驟:使用 Word Online 編輯 PDF 檔,將會轉換 PDF 為 Word 檔案。再下載複本到電腦。 (中文測試ok,測試日期: 2013-09-27。)
  • Good.gif Google 雲端硬碟 PDF 轉 Word 操作步驟:(1) 上傳 PDF 檔案到 Google 雲端硬碟、(2) 不要點兩下,直接打開 PDF 檔案。而是按滑鼠右鍵,「選擇開啟工具」,再選擇「Google 文件」。(測試日期: 2023-01-31)
  • $ Adobe PDF Services PDF 轉成 word, excel, OCR 辨識,但是台灣不支援該服務。[Last visited: 2018-02-06]

相關頁面: OCR 日文 PDF 轉 Word 或 Excel 的 線上轉檔服務比較

PDF 轉換成網頁 (HTM)

PDF 轉換成 Excel

Owl icon.jpg 當相同欄位的表格橫跨不同 PDF 頁面,轉成 Excel 檔後,可能會看到表格分散在 Excel 檔案的不同工作表。可使用合併工作表的工具: $ Merge Excel worksheets by matching data in seconds

PDF轉成簡報檔 (PPTX)

PDF 轉換成圖檔

  • Adobe Reader X: (1)選單 -> 編輯: 勾選「拍攝快照」。 (2)回到PDF本文,選取要複製的圖片; (3)貼到圖形編輯軟體。
  • macOS icon_os_mac.png 預覽程式: 將 PDF 轉換成圖檔,缺點只能轉換一頁。如果選定多頁,只會將選擇範圍的第一頁轉換成圖檔。操作方式: 選單: 檔案 --> 輸出。