Skip to content

Latest commit

Β 

History

History
45 lines (22 loc) Β· 1018 Bytes

File metadata and controls

45 lines (22 loc) Β· 1018 Bytes

πŸ“šπŸ”Š PDF to Audio Converter

This project converts PDF documents into audio files, making it easier to listen to text-based content like books, research papers, or reports. It is designed to support accessibility, productivity, and learning on the go.

πŸ“Œ Features

πŸ“– Extracts text from PDF files.

πŸŽ™οΈ Converts extracted text into natural-sounding speech.

πŸ”Š Saves audio output as an MP3/WAV file.

🌍 Supports multiple languages and voices (if using advanced TTS engines).

⚑ Lightweight and easy to use.

βš™οΈ Tech Stack

Python 🐍

PyPDF2 / pdfplumber β†’ For extracting text from PDFs

gTTS / pyttsx3 β†’ For text-to-speech conversion

OS / File Handling β†’ To save and manage audio outputs

πŸš€ How to Run

Clone the repository

git clone https://github.com//pdf_audio_converter.git cd pdf_audio_converter

Install dependencies

pip install -r requirements.txt

Run the script

python pdf_to_audio.py input.pdf output.mp3

Listen to your PDF as audio! 🎧