Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

share|improve this question
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 or 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .