{"id":13788,"date":"2026-08-26T15:41:05","date_gmt":"2026-08-26T13:41:05","guid":{"rendered":"https:\/\/wp.jochen.hayek.name\/blog-en\/?p=13788"},"modified":"2026-08-26T16:14:22","modified_gmt":"2026-08-26T14:14:22","slug":"macos-pdf-ocr","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2026\/08\/26\/macos-pdf-ocr\/","title":{"rendered":"can I OCR PDF files on macOS with no foreign apps?"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/share.google\/aimode\/YeoYU7UfvF6KhUTMo\">https:\/\/share.google\/aimode\/YeoYU7UfvF6KhUTMo<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Preview<\/em> app can <em>export<\/em> a PDF file to a PDF file with &#8220;<em>Embedded Text<\/em>&#8220;. As easy as that.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What will I do with that PDF with embedded Text? I will run &#8220;<em>pdftohtml -xml<\/em>&#8221; on it, and I will add lots of comments to the prettified XML. That&#8217;s good for bills and contracts and all that.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>The Preview app can export a PDF file to a PDF file with &#8220;Embedded Text&#8220;. As easy as that. What will I do with that PDF with embedded Text? I will run &#8220;pdftohtml -xml&#8221; on it, and I will add lots of comments to the prettified XML. That&#8217;s good for bills and contracts and all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[386,423],"tags":[],"class_list":["post-13788","post","type-post","status-publish","format-standard","hentry","category-ocr","category-pdf"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-3Ao","jetpack_likes_enabled":true,"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/13788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=13788"}],"version-history":[{"count":3,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/13788\/revisions"}],"predecessor-version":[{"id":13794,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/13788\/revisions\/13794"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=13788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=13788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=13788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}