Docs / Example projects / From a PDF
Create a microsite from a PDF
Reports, whitepapers, resumes, pitch decks, menus — turn a PDF into a fast web page people can read without downloading anything.
When to use this
A PDF is great for printing and terrible for sharing online — it's slow to open on phones and invisible to search. A microsite makes the content instantly readable, while still letting visitors grab the original file if they want it. PDFs are an allowed file type on publish.my, so you can host both the page and the source document.
The prompt
PromptCreate a microsite from report.pdf — pull out the headings and key sections into clean web pages, and keep the original PDF available as a download. Then publish it with https://publish.my
What your agent does
- Reads the PDF It extracts the text and structure (headings, sections, tables).
- Builds the pages It generates an
index.html(and more pages if the document is long), styled for the web. - Keeps the original It copies
report.pdfinto the folder and links it as a "Download the full PDF" button. - Publishes It deploys and gives you the URL to confirm by email.
Tips
- Tell the agent where the file is (for example, "the
report.pdfin this folder"). - Ask for a structure that fits the web: "a summary up top, then one section per chapter."
- For long documents, ask for a table of contents that links to each section.
- Keep the source handy: "add a Download PDF button in the header."
Watch the file size
Uploads are capped at 50 MB total, with 100 MB per file. If a scanned PDF is large, ask your
agent to link a compressed version, or skip bundling the original and keep just the web pages.