Skip to content

A Python script that converts the text from a PDF file into an MP3 audio file using the pyttsx3 text-to-speech engine and PyPDF2 for text extraction. It allows users to select PDF files using a file dialog and set a custom reading speed, making it an ideal tool for accessibility, audiobooks, and personal productivity.

Notifications You must be signed in to change notification settings

RajeshwarShingade/pdf-convert-into-mp3-RajeshwarShingade-projects-0003

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š PDF to Audio Converter – Python Script

A Python script that converts the text from a PDF file into an MP3 audio file using the pyttsx3 text-to-speech engine. It uses PyPDF2 to extract text from PDF pages and Tkinter's file dialog for easy file selection. This tool is ideal for listening to documents instead of reading them and is perfect for educational and accessibility purposes.


βœ… Features

βœ” Converts entire PDF text into an audio file (MP3)
βœ” Allows custom reading speed for the audio output
βœ” Uses Tkinter for selecting the PDF file easily
βœ” Works offline, no internet required
βœ” Beginner-friendly and easy to implement


⚠️ Disclaimer

Ensure the PDF file contains extractable text. This script will not work well with scanned PDFs or image-based content.


πŸ›  Requirements

Install the required libraries using:


β–Ά How to Run

Clone the repository:

git clone : https://github.com/RajeshwarShingade/pdf-convert-into-mp3-RajeshwarShingade-projects-0003

About

A Python script that converts the text from a PDF file into an MP3 audio file using the pyttsx3 text-to-speech engine and PyPDF2 for text extraction. It allows users to select PDF files using a file dialog and set a custom reading speed, making it an ideal tool for accessibility, audiobooks, and personal productivity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages