A powerful web application for converting between various document, image, and text formats.
- File Conversion: Convert between document formats (DOCX, PDF, MD, HTML, etc.)
- Image Conversion: Convert between image formats with quality adjustments
- Text Conversion: Direct conversion of text content
- Base64 Conversion: Convert Base64 data to target formats
- Advanced Options: Customize conversion with various options
- Conversion History: Save and download conversion history
- Dark/Light Mode: User-friendly interface with togglable themes
- Drag & Drop: Support for dragging and dropping files
- Preview: Preview files and results before downloading
- Keyboard Shortcuts: Enhance user experience
- Python 3.8+
- Flask
- Pandoc
- ImageMagick
- Other Python libraries listed in
requirements.txt
- Clone repository:
git clone https://github.com/stop1love1/document-converter.git
cd document-converter- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Install Pandoc and ImageMagick (if not already installed):
- Pandoc: https://pandoc.org/installing.html
- ImageMagick: https://imagemagick.org/script/download.php
- Start the Flask application:
python app.py- Open your browser and go to:
http://localhost:5000
- File Conversion: Upload file → Select formats → Add options → Convert
- Image Conversion: Upload image → Select target format → Adjust quality → Convert
- Text Conversion: Enter text → Select formats → Convert
- Base64 Conversion: Enter Base64 data → Select formats → Convert
- Alt + F: File tab
- Alt + T: Text tab
- Alt + B: Base64 tab
- Alt + C: Activate conversion
- Alt + K: Show/hide shortcuts
- Alt + D: Toggle dark/light mode
API documentation available at /api/docs/
- Backend: Python, Flask
- Frontend: HTML, CSS, JavaScript
- Conversion Tools: Pandoc, ImageMagick
MIT License - see LICENSE for details.
