Quran Verse PNG Exporter

Quran Verse PNG Exporter

Github Repo: https://github.com/xsukax/Quran-Verse-PNG-Exporter

Demo: https://xsukax.github.io/Quran-Verse-PNG-Exporter

๐Ÿ“˜ Project Overview

Quran Verse PNG Exporter is a web-based tool that allows users to generate high-quality, beautifully styled PNG images of Quranic verses directly from their browser. The application connects to the public AlQuran.cloud API to fetch authentic Quranic text in Uthmani script, providing users the flexibility to select specific surahs and verses, customize appearance settings, and export them as transparent or colored images.

The tool is designed with simplicity, accuracy, and respect for Quranic text presentation. Itโ€™s ideal for designers, educators, and content creators who wish to include Quranic verses in visual materials while maintaining high aesthetic and linguistic standards.


๐Ÿ”’ Security and Privacy Benefits

  • No user data collection: The application performs all actions locally in the browser. No verse data, selections, or generated images are transmitted to external servers.
  • Secure API usage: Quranic data is fetched via HTTPS from the verified AlQuran.cloud API, ensuring authenticity and data integrity.
  • Local rendering and export: Image generation uses the client-side library html2canvas, which processes and exports the verse image entirely on the userโ€™s deviceโ€”eliminating any risk of data exposure.
  • No cookies or analytics tracking: The app maintains complete user privacy and transparency.

These measures ensure a trustworthy, privacy-respecting experience, fully aligned with ethical and religious sensitivity toward Quranic content.


๐ŸŒŸ Features and Advantages

  • โœ… Fetch any surah and verse range from the Quran using the AlQuran.cloud API.
  • ๐Ÿ–‹๏ธ Customizable typography and colors โ€” Adjust font size, text color, and background color to fit design needs.
  • ๐Ÿงฉ Transparent background option โ€” Ideal for overlaying on other visual materials.
  • ๐Ÿ•Œ Option to hide Bismillah โ€” Provides flexibility when displaying certain verses.
  • ๐Ÿ’พ One-click PNG export โ€” Download verses as high-resolution PNG images.
  • ๐Ÿ’ป Responsive and mobile-friendly design โ€” Smooth experience across devices.
  • โšก Completely offline after loading โ€” Once loaded, the app can work even without continuous internet connection (for already-fetched surahs).

๐Ÿงญ Installation Instructions

This application is fully client-side and requires no server setup.

Option 1: Run directly

  1. Visit the GitHub repository: Quran-Verse-PNG-Exporter
  2. Click on index.html โ†’ Raw โ†’ right-click โ†’ Save As.
  3. Save the file locally as index.html.
  4. Open it in your browser by double-clicking.

Option 2: Clone via Git

git clone https://github.com/xsukax/Quran-Verse-PNG-Exporter.git
cd Quran-Verse-PNG-Exporter

Then open index.html in your preferred web browser.

Supported browsers: Chrome, Edge, Firefox, Safari (latest versions)


๐Ÿงฐ Usage Guide

  1. Open the application in your browser.
  2. From the dropdown menu, select the desired surah.
  3. Specify the verse range (e.g., from verse 1 to verse 5).
  4. Click ๐Ÿ“– โ€œุนุฑุถ ุงู„ุขูŠุงุชโ€ (Display Verses) to fetch and preview.
  5. Customize the following:

    • Font size (in pixels)
    • Text color and background color
    • Toggle background transparency
    • Optionally hide Bismillah
  6. Click ๐Ÿ’พ โ€œุชุตุฏูŠุฑ ูƒุตูˆุฑุฉ PNGโ€ (Export as PNG) to download the rendered verse image.

๐Ÿงพ Licensing Information

This project is licensed under the GNU General Public License v3.0.


๐Ÿ’ก Contribution & Feedback

Contributions and suggestions are welcome! If you find issues or have enhancement ideas, feel free to open an issue or submit a pull request on the GitHub repository.


Author: @xsukax

Project URL: https://github.com/xsukax/Quran-Verse-PNG-Exporter

Leave a Reply

Your email address will not be published. Required fields are marked *