Logo

Tutorials

Practical, real-world guides for developers — essential workflows broken down into clear steps, with ready-to-use code you can drop into your project.

Create PDF Go

Generate PDF Event Tickets with QR Codes in A6 Format using Go

Learn how to generate A6-sized event tickets with embedded QR codes using Go. This tutorial focuses on small-format PDFs (tickets, badges, labels) using CSS print media and the Apdf API. Perfect for event management systems, concerts, and conferences where scanning and compact printing are essential.

8 min read

Rotate Pages Python

Fix Sideways PDF Scans: Auto-Rotate Pages with Python

Learn how to automatically fix sideways or upside-down PDF pages from mobile uploads. Using Python and the Apdf Rotate API, you can detect and correct orientation issues in scanned documents, making them ready for review workflows.

6 min read

PDF Underlay Letterhead Ruby

Add Company Letterhead to Existing PDFs

Learn how to retrofit company branding onto legacy PDF reports by sliding a letterhead design behind the existing content. Using Ruby and the Apdf Underlay API, you can batch-process thousands of documents without regenerating them.

5 min read

Delete Pages Node.js

Automatically Deleting Sensitive Pages from PDFs

Learn how to automatically remove Terms & Conditions, internal notes, or other sensitive pages from PDFs before sharing with third parties. Using Node.js and the Apdf Delete Pages API, you can batch-process documents and strip confidential information in seconds.

5 min read

Create PDF PHP HTML

Dynamic Certificate Generation for Online Courses (LMS)

Learn how to dynamically generate professional PDF certificates for online course platforms using PHP. Design certificates with HTML/CSS, use landscape orientation, and automatically generate them when students complete courses.

5 min read

PDF Password JavaScript

Batch Password Protect PDFs for GDPR Compliance

This tutorial shows how to automatically password-protect sensitive documents like payslips and medical records before emailing. Using JavaScript and the Apdf Security API, you can batch-process documents with user-specific passwords for GDPR compliance.

5 min read

Search PDF Python

Building a "Search Inside PDF" Feature for Your Web App

This tutorial shows how to build a PDF search feature using Python and the Apdf Search API. Find specific terms, get page numbers and context lines, and optionally use regex patterns for advanced matching. Includes a Flask web interface example.

5 min read

Compress PDF AWS S3 Java

Reduce AWS S3 Costs by Automating PDF Compression

This tutorial shows how to cut AWS S3 storage costs by compressing PDFs before storing them. Using Java and the Apdf Compress API, developers can achieve up to 90% file size reduction on image-heavy PDFs, directly translating into lower storage bills.

7 min read

PDF Watermark Ruby

Automate PDF Watermarking: Add Logos to Documents in Bulk

This tutorial explains how to automate PDF watermarking using Ruby and the Apdf Overlay API. By layering a transparent PDF onto original documents, developers can bulk-process files and use parameters to target specific page ranges (e.g., skipping cover pages).

5 min read