Converting a PDF to subtitles requires a different approach than converting other document types

A PDF file cannot become a subtitle file directly because PDFs store text as images or locked content, while subtitle formats like .srt, .vtt, and .ass expect plain text with timing codes. If your PDF contains a transcript or dialogue, you will need to extract the text first, then format it with timestamps that match your video. The method depends on whether your PDF is searchable text or scanned images.

If the PDF is a searchable document (text you can select and copy), you can extract the content into a text editor, add timing codes, and save it as a subtitle file. If the PDF is scanned images of pages, you will need optical character recognition (OCR) software to convert the images to readable text before you can proceed. Neither path is automatic — both require manual work to add the timestamps that make subtitles sync with video.

Key Takeaways

  • Searchable PDFs let you copy text directly; scanned PDFs require OCR software like Tesseract or Adobe Acrobat to convert images to text first.
  • Subtitle files need timing codes (00:00:15,000 --> 00:00:20,000) that you must add manually or with a subtitle editor that reads your transcript.
  • Common subtitle formats are .srt (most compatible), .vtt (used by web players), and .ass (supports styling); choose based on where you plan to use the subtitles.
  • Free tools like Notepad, Subtitle Edit, and Aegisub can format and time your extracted text without paying for software.

Check whether your PDF contains selectable text or scanned images

Open your PDF in Adobe Reader, Preview (on Mac), or any PDF viewer. Try to click and drag across some text on the page. If the text highlights and you can copy it, the PDF is searchable and you can extract it directly. If nothing happens when you try to select text, the PDF is a scanned image and you will need OCR.

This distinction matters because it determines your next step. Searchable PDFs move straight to text extraction. Scanned PDFs require an extra step to convert images into readable text before you can build subtitles from them.

Extract text from a searchable PDF

Open the PDF in your viewer and select all the text you need. On Windows, use Ctrl+A to select everything on the current page, or click and drag to select specific sections. On Mac, use Command+A. Copy the selected text with Ctrl+C (Windows) or Command+C (Mac).

Open a plain text editor like Notepad (Windows), TextEdit (Mac), or any code editor. Paste the text with Ctrl+V or Command+V. Save the file with a .txt extension. This gives you a clean text file without the PDF's formatting, which is what you need to build subtitles.

Convert scanned PDFs to text using OCR

Tesseract is a free, open-source OCR tool that works on Windows, Mac, and Linux. Download it from GitHub, install it, and run it from the command line to convert your PDF pages to text. The process is technical and requires typing commands, but it costs nothing and handles most PDFs accurately.

Adobe Acrobat (paid, $180 per year or $15 per month) includes OCR built into the interface. Open your scanned PDF, go to Tools > Recognize Text, and Acrobat converts the images to selectable text automatically. You can then copy and paste as described above.

Online OCR services like ILovePDF, Smallpdf, and OnlineOCR let you upload a PDF and download the text without installing software. These are free for small files but may have limits on file size or daily uploads. They also send your file to a server, so avoid them if your PDF contains sensitive information.

Add timing codes to create a subtitle file

Subtitle files need two things: the text from your transcript and timestamps that tell the video player when to display each line. The most common format is .srt (SubRip), which looks like this:

1 00:00:05,000 --> 00:00:10,000 This is the first subtitle line. 2 00:00:10,500 --> 00:00:15,000 This is the second subtitle line.

Each block has a number, a start time and end time separated by -->, and the text to display. Times are in hours:minutes:seconds,milliseconds. You can write this by hand in a text editor, but it is slow and error-prone for anything longer than a few lines.

Subtitle Edit (free, Windows and Mac) is a dedicated subtitle editor that lets you paste your transcript, set timing codes by watching your video or typing times manually, and export as .srt, .vtt, .ass, or other formats. Load your extracted text, adjust the timing for each line, and save.

Aegisub (free, Windows, Mac, and Linux) is more advanced and includes timing tools, styling options, and support for multiple subtitle formats. It has a steeper learning curve but gives you more control over how subtitles look and sync.

Choose the right subtitle file format for your use

.srt (SubRip) is the most widely supported format. Nearly every video player, streaming service, and video editor accepts .srt files. Use this format unless you have a specific reason not to.

.vtt (WebVTT) is the standard for web video players like HTML5 video, YouTube, and Vimeo. If you are uploading subtitles to a website or web-based video platform, .vtt is often required or preferred. It is similar to .srt but uses a slightly different time format (00:00:05.000 instead of 00:00:05,000).

.ass (Advanced SubStation Alpha) supports styling like colors, fonts, and positioning. Use .ass if you want subtitles with custom appearance, or if you are working in video editing software like DaVinci Resolve or Premiere Pro that supports styled subtitles.

Sync your subtitles to your video

Once you have a subtitle file with timing codes, test it by opening your video file and the subtitle file together in a video player. Most players let you drag and drop a subtitle file onto a video, or you can right-click the video and select "Load Subtitles" or similar.

If the subtitles appear too early or too late, you can adjust the timing. Subtitle Edit and Aegisub both have sync tools that let you shift all timings forward or backward by a fixed amount. If only some subtitles are out of sync, you may need to adjust individual timing codes by hand.

Some video editors like DaVinci Resolve and Premiere Pro can also import subtitle files and let you adjust timing within the editor itself, which can be easier than using a separate subtitle tool.

Frequently Asked Questions

Can I convert a PDF with images and text mixed together?

Yes, but the process is slower. Use OCR software to convert the entire PDF to text, then manually remove or clean up any garbled text from the images. Tesseract and Adobe Acrobat both handle mixed PDFs, though the text extracted from image sections may need correction.

What if my PDF is password-protected?

You will need to remove the password first. Some online PDF tools can unlock password-protected files, or you can use a tool like QPDF (free, command-line) to strip the password. Once unlocked, proceed with text extraction as normal.

How do I know what timing codes to use if I don't have the video yet?

You can estimate timing based on reading speed — most people read about 150 words per minute, so a 15-word subtitle line takes about 6 seconds. Use this as a rough guide, then adjust when you have the actual video. Subtitle editors let you change all timings at once if you need to shift everything.

Can I use Google Docs or Microsoft Word to create subtitles?

Not directly — these programs save in .docx or .odt format, not subtitle formats. Use them to edit and organize your transcript text, then copy the final version into a plain text editor or subtitle editor to add timing codes and save as .srt or .vtt.

What if the PDF text is in a language other than English?

OCR tools like Tesseract and Adobe Acrobat support many languages. When you run OCR, select the language your PDF is in, and the tool will convert it more accurately. Subtitle editors like Subtitle Edit work with any language once the text is extracted.