Skip to content

A Flask web app converting PDF text to audio. Upload PDFs, choose scanning options, and get MP3 files. Easy, accessible, and on-the-go listening!

License

Notifications You must be signed in to change notification settings

Fawaz-Khan-R/PDF-to-Audio-file-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF to Audio Converter

image

Convert PDF text to audio effortlessly!

Overview

The PDF to Audio Converter is a web application built with Flask that allows users to convert text content from PDF files into audio format. Whether you're on the go or prefer listening over reading, this tool makes it easy to turn PDF documents into audio files for convenient listening.

Features

  • Upload PDFs: Simply upload your PDF files to get started.
  • Choose Scanning Options: Select from various scanning options such as scanning the entire document, selecting a page range, or scanning for specific keywords.
  • Generate Audio Files: Convert PDF text into speech using text-to-speech technology and download the audio files (in MP3 format) for listening.
  • User-Friendly Interface: Intuitive interface makes it easy for users to navigate and convert PDFs to audio effortlessly.

Usage

  1. Upload your PDF file.
  2. Choose scanning options (if desired).
  3. Click the "Convert to Audio" button.
  4. Download your audio file and enjoy listening!

Getting Started

To run the PDF to Audio Converter locally:

  1. Clone this repository.
  2. Open your terminal.
  3. Install the required dependencies pip install pyttsx3 PyPDF2 flask.
  4. Go to the path where the main.py file is located.
  5. Run the Flask application python app.py.
  6. Access the application in your web browser http://localhost:5000 (by default).

Technologies Used

  • Flask: Python web framework for building the application.
  • PyPDF2: Library for extracting text from PDF files.
  • pyttsx3: Library for text-to-speech conversion.
  • HTML/CSS: Front-end design and styling.
  • JavaScript: Front-end interactivity and dynamic behavior.

License

This project is licensed under the MIT License.

Contributing

  • Contributions are welcome! Feel free to submit issues or pull requests.

About

A Flask web app converting PDF text to audio. Upload PDFs, choose scanning options, and get MP3 files. Easy, accessible, and on-the-go listening!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published