All Collections
Using PDF2XL
PDF2XL OCR
OCR Tweaking: Converting Low-Quality Scanned PDF Files
OCR Tweaking: Converting Low-Quality Scanned PDF Files

Using OCR Tweaking to convert low-quality scans

PDF2XL Support avatar
Written by PDF2XL Support
Updated over a week ago

Converting a scanned PDF file can be tricky if it doesn't have the necessary elements for a successful output. You may find your conversion is messy, contains odd characters, and confuses many letters and numbers.

You can download a sample of a poorly scanned PDF file at the bottom of this tutorial.

While we highly recommend that you try to get a good quality scan we understand that this isn't always possible, therefore, PDF2XL Business, Enterprise, and Pro contain OCR Tweaking options to try and help you improve the character recognition.


First and foremost, if you map out your tables and fields and notice that no data is showing up in the Page Preview, go to the OCR tab and ensure that the Start button is enabled.

Even with the OCR running, you might see that your preview isn't very accurate.

On the OCR tab, click OCR Options.

*If you have "Use advanced OCR" selected (available only in Enterprise), you will need to disable this as Advanced OCR uses a different filtering method. You will not be able to use the "Force DPI" tool in Default mode:

Under the OCR Tweaking section, you'll see the following features:

  1. Threshold: You can either allow PDF2XL to select an automatic monochrome threshold, or set it manually. Change this setting if the scanned page is either very light or very dark.

  2. Despeckle: By setting this option you can make the OCR process ignore small dots and imperfections in the scanned image. If the scanned document has a lot of 'noise', this option can help enormously. To use it, check the despeckle box, and select the maximum size of the dot to remove. Moving the bar to the right will make PDF2XL remove larger and larger 'dots', up to removing quite sizable chunks.

  3. Remove lines: If this option is set, PDF2XL will try to remove vertical and horizontal lines before processing the image. This is mostly useful when trying to process an image scanned from old computer print-out papers that have pre-printed lines on them. 

There is no set level for any of these settings, as all scanned PDF files are different, so you need to play around with the sliders until you have the best possible result.

If you've set the OCR Tweaking to the best possible result and you still have some errors, there are a couple more things you can try.

  • You can try changing the column/field format. For example, by selecting Text, it will force the OCR to recognize that a character is an 'O', not a '0'.

  • Finally, you can run the Validation. This will allow the OCR to run through the words that it has difficulty recognizing, and allow you to correct them before converting your file. Note that it will look for all instances of poor character recognition, which means it could be a lengthy process if you have a very large, poorly scanned file.

  • If you have the PDF2XL Enterprise edition, you can use the Replace List to correct repeating instances of wrongly recognized words. For example, if your document has the word "auto" several times, and the OCR recognizes it as "aut0" every time, the Replace List will make correcting them all at once quick and easy.

Attachment icon
Did this answer your question?