Close Menu

    Subscribe to Updates

    Get the latest Tech news from SynapseFlow

    What's Hot

    Boost Mobile teams up with Mike Tyson for its new ad campaign

    October 15, 2026

    How to prevent Prompt Injection Attacks in Local LLM

    October 15, 2026

    ANBERNIC is quietly removing a controversial extra from its Android handhelds

    October 15, 2026
    Facebook X (Twitter) Instagram
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    Facebook X (Twitter) Instagram YouTube
    synapseflow.co.uksynapseflow.co.uk
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    synapseflow.co.uksynapseflow.co.uk
    Home»Software & Apps»I made years of scanned PDFs searchable without giving them to the cloud
    I made years of scanned PDFs searchable without giving them to the cloud
    Software & Apps

    I made years of scanned PDFs searchable without giving them to the cloud

    The Tech GuyBy The Tech GuyOctober 15, 2026No Comments7 Mins Read0 Views
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Advertisement


    I had years of university notes, exam papers, official letters, and lecture handouts sitting on my drive as PDFs, and I’d never given them much thought because they all opened just fine. The problem showed up whenever I tried to search them. Many of those files were basically photographs of pages wearing a PDF costume, so Windows could display every word on the page without knowing any of those words existed.

    Advertisement

    Uploading dozens of old documents to some random OCR website wasn’t especially appealing, so I looked for a local option instead. OCRmyPDF adds a searchable text layer to scanned PDFs while leaving the pages looking the way they did before. I tested it on Windows 11 with crooked scans, sideways pages, mixed PDFs, and a 72-page batch, and by the end I could finally search an archive that had spent years making me open documents one by one.


    Bentopdf Web Interface Popular Tools Homepage Displayed On Hp Monitor


    I replaced Adobe Acrobat with a free open-source self-hosted app, and I’m not going back

    Does everything Acrobat does. Costs zero. Hosted on my server.

    Getting started takes longer than using it

    Windows needs a few pieces before the easy part begins

    OCRmyPDF is a free, open-source command-line tool built around Tesseract OCR, and it runs on Windows, macOS, Linux, WSL, FreeBSD, and Docker. The exact setup depends on the platform. Homebrew users can install it with a single command, while Debian and Ubuntu users can grab it through apt. I tested version 17.13.0 on Windows 11, where the official OCRmyPDF installation guide involves a few more moving parts.

    Windows needs 64-bit Tesseract and uv, while Ghostscript is recommended and still required for some PDF/A conversions. I installed Tesseract and uv through Winget, downloaded Ghostscript separately, then installed OCRmyPDF with:

    uv tool install ocrmypdf

    The only snag was PATH configuration. uv initially placed OCRmyPDF somewhere PowerShell could not find it, and running uv tool update-shell fixed that after I reopened the terminal. If you don’t spend much time in PowerShell, you may want a quick look at these useful Windows PowerShell commands before getting started.

    Once everything was installed, the actual OCR command was almost anticlimactically straightforward:

    ocrmypdf "old-document.pdf" "old-document-searchable.pdf"

    My first test was a two-page scan where Acrobat could clearly display the word “award” several times, yet searching for it returned nothing. OCRmyPDF processed the file, and the exact same search came back with 10 matches. I could also select sentences from the scan and paste them into Notepad because OCRmyPDF had added an invisible text layer beneath the original page image.

    The recognition was not flawless. One word came through incorrectly, and some numbering became untidy, so I’d advise you to still verify OCR output before quoting or republishing it. For the far less glamorous job of finding a buried phrase in an old document, though, it was already doing exactly what I needed.

    If you’re building a paper archive from scratch, getting a clean scan first will give OCR a better shot. A phone can already handle that job pretty well, as this guide to turning a phone into a document scanner shows.

    Old scans need more judgment than one magic command

    Deskew helped; automatic rotation taught me some restraint

    OCRmyPDF can clean up page geometry too, which came in handy with one old exam paper that had been scanned at a noticeable angle. I ran:

    ocrmypdf --deskew "perio-past-question.pdf" "perio-past-question-deskewed.pdf"

    The result was visibly straighter, although the file size went up by 27.6 percent. That was a lovely reminder that OCR and image cleanup don’t automatically shrink PDFs. My first test had gone the other way, dropping from 1,356 KB to 1,137 KB, so file size can move in either direction depending on what OCRmyPDF has to do.

    Rotation taught me an even better lesson. I had a 53-page PDF with two pages turned sideways, and --rotate-pages identified the orientation correctly but refused to rotate them because its confidence score was too low. OCRmyPDF is deliberately conservative here, and its documentation warns that lowering the threshold will catch more rotated pages while increasing the chance of false positives.

    I dropped the threshold to 2.0, and the two sideways pages became upright. Unfortunately, two perfectly good pages were also flipped in the process, which was enough to convince me not to throw aggressive rotation settings at an entire archive and hope for the best.

    That makes --deskew and aggressive rotation settings better suited to known problem files than to an unattended sweep across an entire archive. They can be extremely useful, but once preprocessing starts altering page images, OCRmyPDF’s own guidance is worth keeping nearby so you know exactly what each option is allowed to touch.

    Making the PDFs searchable also fits nicely into the rest of a Windows file workflow. Everything can find files on Windows almost instantly when the filename or folder is the clue, while OCRmyPDF handles the separate problem of words that are visible on a scanned page but invisible to search.

    Batch processing is where OCRmyPDF paid off

    The best option knew which pages to leave alone

    An old PDF archive is rarely made up entirely of scans. Some files already contain proper text layers, and OCRmyPDF is cautious about that by default. If it finds existing text, it stops instead of blindly stacking another OCR layer on top.

    For mixed collections, –mode skip became the option I cared about most. I combined two searchable pages with two image-only pages and ran OCRmyPDF against the resulting four-page PDF. The searchable pages were left alone, the scanned pages were OCRed, and afterward I could search all four.

    That was enough encouragement to try a small batch. I put five PDFs totaling 72 pages into one folder and used PowerShell to send processed copies into a separate output directory.

    Get-ChildItem -File -Filter *.pdf | ForEach-Object {
    ocrmypdf --mode skip $_.FullName (Join-Path "$PWD\output" $_.Name)
    }

    The whole run took 1 minute 28.9 seconds on my PC, and every PDF in the output folder was searchable when it finished. The originals totaled about 8,566 KB, while the processed set came to roughly 8,235 KB.

    Those numbers obviously belong to one PC and one pile of documents, but they gave me a much better sense of what batch OCR looks like in practice. OCRmyPDF also has an official batch-processing guide for larger jobs and watched-folder setups if you want to automate the process further.

    You should still keep the originals or make a backup before turning a large archive loose on any automated workflow, especially if deskewing, rotation, or other image processing is involved. I use Duplicati can automate backups of important files, and it fits nicely alongside the other open-source apps that can replace paid software.

    The privacy benefit is pretty simple too. OCRmyPDF can do all of this locally, so my old documents never have to pass through an online OCR service just to become searchable. If I later upload the finished PDFs to cloud storage, then the usual questions about encryption, account security, and recovery come back into play, including the security features worth looking for in a cloud storage service.


    A Windows laptop with web browsers open


    I’ve been paying $10 a month for a feature that’s been free in my browser this whole time

    Your web browser can do more than you give it credit for.

    Ctrl+F was the feature my archive had been missing

    The PDFs still look exactly like the faded notes, crooked photocopies, and battered exam papers I saved years ago. The difference is that I can now remember a phrase, search for it, and jump straight to the right page instead of opening files one by one and hoping I get lucky.

    For files already sitting on my drive and taking up space, adding a searchable text layer turned them into a much more usable archive.

    Advertisement
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    The Tech Guy
    • Website

    Related Posts

    How to prevent Prompt Injection Attacks in Local LLM

    October 15, 2026

    My offline music library finally has Spotify-style lyrics, without Spotify

    October 15, 2026

    How to update Open WebUI without losing data

    October 14, 2026

    I turned on one Galaxy setting, and my mobile bill got much smaller

    October 14, 2026

    Google Photos’ most annoying issue finally has a fix

    October 14, 2026

    These accessories made my budget power tools feel much more capable

    October 13, 2026
    Leave A Reply Cancel Reply

    Advertisement
    Top Posts

    You don’t need a NAS to self-host — I proved it with hardware from my closet

    June 7, 2026393 Views

    Spotify is giving one of its best playlists a big visual upgrade to give subscribers ‘a closer connection’ to its New Music Friday curators — and I think it could be the update it’s always needed

    June 12, 2026211 Views

    The iPad Air brand makes no sense – it needs a rethink

    October 12, 202517 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Advertisement
    About Us
    About Us

    SynapseFlow brings you the latest updates in Technology, AI, and Gadgets from innovations and reviews to future trends. Stay smart, stay updated with the tech world every day!

    Our Picks

    Boost Mobile teams up with Mike Tyson for its new ad campaign

    October 15, 2026

    How to prevent Prompt Injection Attacks in Local LLM

    October 15, 2026

    ANBERNIC is quietly removing a controversial extra from its Android handhelds

    October 15, 2026
    categories
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    Facebook X (Twitter) Instagram Pinterest YouTube Dribbble
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    © 2026 SynapseFlow All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.