arrow_back All posts

Blog

Tutorials

Browse all tutorials articles.

Tutorials

HTML to PDF API: Convert Templates to Professional PDFs

Generate PDFs from HTML templates using the len.sh API. Covers invoices, reports, certificates, and dynamic documents with custom headers, footers, and styling.

Apr 12, 2026 6 min read
Tutorials

How to Capture Full Page Screenshots with an API

Learn how to capture full page screenshots of any website using the len.sh API. Covers scrolling pages, lazy-loaded content, fixed headers, and device emulation with code examples.

Apr 12, 2026 4 min read
Tutorials

Building a Website Monitoring Tool with len.sh

Build a complete website monitoring tool with Node.js that captures periodic screenshots, detects visual changes, and sends Slack alerts.

Mar 8, 2026 9 min read
Tutorials

URL to PDF API: The Complete Developer Guide

A comprehensive guide to converting URLs and HTML to PDFs using the len.sh /v1/pdf endpoint. Covers paper sizes, margins, page ranges, headers, footers, and real-world use cases.

Mar 6, 2026 8 min read
Tutorials

How to Generate OG Images Programmatically in 2026

Learn how to generate dynamic Open Graph images for social sharing using the len.sh /v1/og endpoint. Covers all parameters, HTML meta tags, and framework integration.

Mar 6, 2026 8 min read
Tutorials

Signed URLs: Embed Screenshots in Emails Without Exposing API Keys

Learn how to use len.sh signed URLs to safely embed live screenshots in emails, public dashboards, and img tags using HMAC-SHA256 authentication.

Mar 6, 2026 8 min read
Tutorials

Screenshot APIs Explained: A Developer's Guide

Learn what screenshot APIs are, how they work under the hood, and how to capture your first website screenshot with len.sh in under 5 minutes.

Feb 15, 2026 8 min read

Try len.sh for free

Start capturing screenshots with a simple API call. No credit card required.