Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PDF book of sheet music that I need to extract the text from. I don't need to extract the musical notes or anything, just the verses of the text.

I can't select one line of text by itself – it always selects other parts of the page. Copying the whole page together puts everything out of order. There are also hyphens between syllables that I'd like to remove.

This is the first song in the PDF: http://bradshawfamily.net/~samuel/zzz/34832_kek_h1.pdf

share|improve this question

1 Answer 1

up vote 0 down vote accepted
  1. My first thought was to copy&paste the whole text into notepad++ and do some regex actions to filter only valid characters. That failed because the lines are messed up after pasting them.

  2. Second thought: Use a online OCR like onlineocr.net or ocrconvert.com That wasn't as bad as I expected. Still you have to delete some misinterpretations

    enter image description here
    Click for full example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.