Skip to content

Stanford digital repository embed code generator

Paste any purl.stanford.edu URL — get a ready-to-paste embed for archived documents, images, maps, and media.

How to embed stanford digital repository content

Paste a Stanford Digital Repository link

Copy the purl.stanford.edu URL of any archived item.

Get the embed code

The tool detects the content type and generates the right embed HTML.

Copy & paste

Click Copy code, then paste the HTML into your blog, docs, CMS, or any HTML editor.

Why use our stanford digital repository embed code generator

Surface scholarly materials

Embed digitized documents, images, maps, and media from the repository directly into your research or coursework.

Stable, citable links

Built around persistent purl.stanford.edu identifiers, so embedded items stay reliable for citations and references.

Customizable preview card

Switch to Card mode to customize colors, fonts, and layout before copying.

Free, no signup

Generate up to 50 embeds per day. No login, no API key, no watermarks.

Stanford Digital Repository Embed with one click.

Powered by the Microlink Embed API — the same infrastructure handling embeds at scale.

  • Document & image embeds

    Render archived documents, images, and maps inline so readers can view them without leaving your page.
  • Media playback

    Embed audio and video items from the repository alongside your narrative and analysis.
  • Preview card fallback

    A styled preview card with title and image when native embedding is restricted.
  • Document & image embeds

    Render archived documents, images, and maps inline so readers can view them without leaving your page.
  • Media playback

    Embed audio and video items from the repository alongside your narrative and analysis.
  • Preview card fallback

    A styled preview card with title and image when native embedding is restricted.

FAQ

How do I embed Stanford Digital Repository content on my website?

Paste any purl.stanford.edu URL into the tool and click Generate to get ready-to-paste embed HTML.

What types of items can I embed?

Digitized documents, images, maps, and audio or video media held in the repository.
Yes — embeds use persistent purl.stanford.edu identifiers, which are designed for long-term citation and access.

What if an item is restricted?

Restricted items fall back to a styled preview card built from the available metadata.

Is this free?

Yes — 50 requests per day, no login, no credit card.