Practical guide

Embed a PDF on your own site.

Upload the file, copy the generated snippet, then place the reader in the page where people need the document.

01 / UPLOAD

Upload the PDF

Choose a valid PDF up to 25 MB. Anonymous uploads are public for seven days.

02 / COPY

Copy the snippet

The completion page generates the document URL and a versioned embed code.

03 / PASTE

Place it on your site

Paste the snippet where the reader should appear. Its iframe height adjusts automatically.

Controls readers can use.

Search

Readers can search text extracted from the document without downloading the file.

Mobile reading

Desktop spreads become single pages on mobile screens.

Contained embed

The versioned iframe loader does not override styles on the host page.

Publish a PDF

No account required. Uploaded documents are public and expire after seven days.

Live demo

The result of one pasted snippet.

This block is exactly what the embed snippet produces on a host page: an isolated reader that loads lazily, keeps its own height in sync and never touches your styles. The document inside is our FOXFIELD sample magazine.

A real embed through the public /embed/v1.js snippet — the same one you get after upload.

The snippet itself.

This is the whole integration. Replace the slug with the one from your own completion page; everything else is copied as it stands.

<div data-embedfox="your-document-slug"></div> <script async src="https://pub.embedfox.com/embed/v1.js"></script>

Optional attributes on the same container: data-embedfox-title names the iframe for assistive technology, data-embedfox-lang pins the language of the reader controls, and data-embedfox-page opens the reader on a chosen page. The embed guide describes each one.

Common PDF embed questions.

Key limits and reader behaviour before you publish a document.

What exactly do I paste into the page?
One container element and one script tag. The container carries data-embedfox with the document slug; the script is the versioned v1 loader. Nothing else is required.
How do I set the height of the embed?
You do not need to. The reader reports its own height to its matching embed and the loader keeps the iframe in sync, so the document never sits in a scrolling box of the wrong size.
Can I put more than one document on a page?
Yes. Each container mounts its own isolated reader and resizes independently, so an archive page can carry several documents.
Does it work in WordPress or another CMS?
It is plain HTML, so it works in any system that lets you paste markup, including a WordPress custom HTML block. A dedicated WordPress block is on the roadmap, not released.
Can I embed a PDF without sending visitors to a third-party platform?
Yes. After upload, EmbedFox provides a public reader URL and a versioned iframe snippet. Paste that snippet into your site where the reader should appear.
Are uploaded PDFs private?
No. Anonymous uploads create a public reader URL. Do not upload a document that must remain private. Anonymous documents expire after seven days.
Will search work for every PDF?
Search uses text extracted from the PDF. A scanned, image-only PDF has no text layer, so it cannot provide text search without OCR.
What does a publishing plan cover?
A paid plan adds team workspaces and roles, replacing a file under the same public link, and your own publisher name and colours in the reader. Publisher identities, the publishing API and custom domains are published plan scope still in build and are marked as such on the pricing page.