---
canonical: 'https://htmlcsstoimage.com/features/url-to-pdf-for-education'
title: 'URL to PDF API for Education | HTML/CSS to Image'
description: 'Convert public course pages, learning resources, reports, and education webpages into printable PDFs through a URL to PDF API.'
---

# Convert course pages and learning resources to PDF

Create printable PDFs from public course pages, learning resources, schedules, and browser-based reports without rebuilding the content.

## Key capabilities

- Course page conversion
- Printable web resources
- Scheduled PDF capture

## How the URL to PDF API works

Send a public webpage URL to `POST https://hcti.io/v1/image` with `pdf_options`. HTML/CSS to Image (HCTI) loads it in Chromium before generating the PDF. Browser controls cover JavaScript-rendered content, capture timing, color scheme, timezone, and print media. The response includes the generated PDF URL.

The page must be reachable by HCTI. Pages that require a specific source network can use a saved proxy, but a site may still return a login, rate-limit, or browser-challenge page instead of its normal content.

If the content is not available as a public webpage, use the HTML-to-PDF API and send its HTML and CSS instead.

## Control the PDF layout

Set the PDF page width, height, scale, print backgrounds, and each margin in the same API request.

```json
{
  "pdf_options": {
    "page_width": "8.5in",
    "page_height": "11in",
    "margins": ["0.4in", "0.4in", "0.4in", "0.4in"],
    "print_background": true
  }
}
```

PDF output is available on supported plans. Check [pricing](https://htmlcsstoimage.com/pricing.md) for current availability.

## MCP Integration

Connect an MCP-compatible client to `https://mcp.hcti.io` with OAuth. The tools use the connected organization's HTML/CSS to Image account, permissions, and plan limits.

- The `create_url_image` tool accepts a webpage URL with `pdf_options` and returns the generated PDF URL. Include browser timing and print controls for JavaScript-rendered pages.

[Read the full MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/).

## Make public education pages printable

### Course materials

Convert lesson and reference pages into PDF files learners can download or print.

### Progress reports

Create PDF copies of publicly accessible progress summaries for students and families.

### Resource libraries

Generate PDFs from collections of public learning resources in scheduled batches.

### Program archives

Preserve published schedules, program pages, and announcements for future reference.

## Get started

REST API requests require an HTML/CSS to Image account and should be authenticated from trusted application code. Check the API docs and pricing for current setup instructions, limits, and feature availability.

- [View the full feature page](https://htmlcsstoimage.com/features/url-to-pdf-for-education)
- [Browse all features](https://htmlcsstoimage.com/features.md)
- [Start free](https://htmlcsstoimage.com/join)
- [View pricing](https://htmlcsstoimage.com/pricing.md)
- [Read the PDF docs](https://docs.htmlcsstoimage.com/parameters/pdf_options/)
- [Read the MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/)
