Home › Forums › PDF24 Online Tools › PDF OCR: extracted text of the searchable PDF has doubled letters
- This topic has 1 reply, 1 voice, and was last updated 1 day, 16 hours ago by PDF24 Support.
-
AuthorPosts
-
2025-01-07 at 23:14 #63763gilbertovargasParticipant
The PDF OCR tool generates a searchable PDF file from a PDF that does not yet have a text layer. When the process is finished, the searchable document and the text contained within the PDF are generated correctly.
Likewise, the PDF OCR tool also allows us to download the text contained in the PDF. However, I have a problem: when I try to extract the text from the searchable file later, I get incorrect information. This is because PDF24's text extraction tools duplicate some parts of the text generated in the searchable file. Here is the result of a conversion using PDF24 OCR.
This is the original text as it can be read directly in the document:
Humans (Homo sapiens, meaning 'thinking man'' or 'wise man'') or modern humans (sometimes Homo sapiens) are the most common and widespread species of primate, and the last surviving species of the genus Homo and the broader australopithecine subtribe..
This is the text generated and extracted from the searchable file, using PDF24's text extraction tools:
Humaannss (HHomo sapiienss,, meaning 'tthhiinnkkinng maann'' or 'wwise maann'') or mooddeern humaannss (someettii- mees Homo sapiens sapienss) are the moosstt commmmon and wiidespread species of primaattee,, and the last survivinng species of the genus Homo and the broader australoopithhecine subttrribee..
As you can see, the searchable PDF document generated by PDF24 contains duplicate letters. The problem arises when a programmer or user needs to extract the text later. What can cause the problem? And how can it be fixed?
Thanks
2026-10-30 at 16:45 #65339PDF24 SupportModeratorHello,
sorry that this thread remained unanswered for so long.
Doubled letters like "Humaannss" usually mean that the text is in the PDF twice, at almost the same position. A text extraction tool then mixes the two copies letter by letter. This can happen, for example, if the PDF already had a text layer and the OCR was run with Force OCR: the new text layer is added on top of the old one.
Did you use Force OCR, or was the source PDF processed with OCR before? And which tool did you use to extract the text, e.g. https://tools.pdf24.org/en/pdf-to-text?
So that we can reproduce this, please send us a file where it happens with this button:
Ideally the source PDF before OCR and the searchable PDF.
-
AuthorPosts
- You must be logged in to reply to this topic.