Que faire quand le texte extrait d'un PDF est illisible
Points clés
- Selon la façon dont les polices sont intégrées, l'extraction peut échouer
- Les données de texte peuvent différer de ce qui s'affiche
- Recréer le PDF à partir de l'original règle souvent le problème
You extracted text from a PDF and got meaningless symbols or lots of blanks. Here are the causes and fixes for such "garbled text", assuming you use Extract Text from PDF.
Main causes of garbled text
- How the characters are embedded: PDFs can store text in a special way. In that case the extracted characters may not correspond to the original ones.
- Special fonts: this happens easily with PDFs that use their own fonts.
- Vertical Japanese text and special formatting: the order and reading may be disturbed.
- Text in images: a scanned PDF does not hold text as text.
Comment vérifier
- Open the PDF in another PDF app or a browser.
- Select some text, copy it and paste it into a note.
- If it is garbled there too, the way the PDF is built is the cause.
Que faire
- Change the page separator setting: "Include" versus "Do not include" rarely changes the result, but try it.
- Try another tool or app: depending on how the PDF is built, another method may read it.
- Use OCR: turn the PDF into images and read them with text recognition (OCR). It often reads better than the garbled text.
- Look for the source data: if you have the original Word or Excel file, extract the text from that.
Steps for reading with OCR
- Turn the pages into images with "PDF to Image".
- Read the text from the images with "Text Recognition (OCR)".
- Compare the result with the original text.
OCR also makes mistakes. For important content, always check against the original.
Content that tends to garble
- Formulas and symbols
- Vertical text
- Tables and complex multi-column layouts
- Old documents and special fonts
Common stumbling blocks
- Only part of it is garbled: the font on that page or part is special.
- Letters and digits are readable but Japanese is garbled: there may be a problem with how Japanese fonts are embedded.
- Nothing works: OCR is the last resort.
Frequently asked questions
Can garbled text be fixed automatically?
Not in this tool, because information from before extraction can be lost.
Why does it garble when it looks clean?
A PDF is a format for reproducing appearance. It does not necessarily store the meaning of the characters correctly.
En résumé
Garbled text is often caused by how the PDF is built. OCR is an effective fix.
Utiliser « Extraire le texte d'un PDF » (gratuit)Outils complémentaires
- PDF en images: Enregistrez chaque page d'un PDF sous forme d'image JPEG ou PNG.
- Extraire ou supprimer des pages de PDF: Gardez seulement les pages dont vous avez besoin, ou supprimez celles dont vous n'avez pas besoin.
- Compresser un PDF: Réduisez un PDF sous une taille de votre choix, pour les limites de téléversement.
Si ce guide vous a aidé, un petit pourboire nous ferait très plaisir.
Laisser un pourboire (300 ¥)Offrir un cadeau (liste d'envies Amazon)Autres guides pour cet outil
- Comment copier et extraire le texte d'un PDF
- Pourquoi on ne peut pas extraire le texte d'un PDF (PDF numérisés)
- Comment copier le texte d'un PDF dans Word ou dans des notes
- Astuces pour utiliser le texte d'un PDF pour étudier et rédiger des rapports
- Faut-il ajouter des repères de page ? Choisir entre activé et désactivé
- Comment extraire le texte d'un PDF sans envoyer le fichier nulle part