← guides

The Google Docs export?format=pdf trick, and when it breaks

There’s a well-known Google Docs URL trick: take the sharing link, docs.google.com/document/d/DOC_ID/edit, and swap /edit for /export?format=pdf. Anyone opening that URL downloads a PDF of the doc as it stands right now. No add-ons, no exports, and it stays current: edit the doc and the next download reflects it.

If you need a quick PDF link for a doc you’re happy to make public, it genuinely works. But here’s the distinction that matters: the trick keeps the PDF current, not the link. The URL is a side effect of the doc, not something you own. Rewrite your résumé from scratch, or start this quarter’s rate card as a fresh document, and it gets a new doc ID, which means a new URL. Every copy of the old link you’ve ever sent still points at the old doc; there’s no way to keep the URL and swap what’s behind it.

The URL is welded to one doc

The export link inherits everything from the doc it points at:

  • A new doc means a new URL. A fresh document gets a fresh doc ID. You re-publish, you re-send, and everyone has to re-download from the new link, while the old link keeps serving the old doc, forever.
  • It needs public sharing. For strangers, the trick only works while the doc is shared with “Anyone with the link”. Tighten sharing later and every copy of the link out there stops working.
  • There’s no off switch. You can’t pause the link, and you can’t point the same URL at a different doc. Delete the doc and the link is dead.
  • Some organizations block it outright. Schools and companies on managed Google accounts sometimes block this exact link format company-wide, since it’s a workaround IT never approved. When that happens, the link just stops working for everyone there, and there’s nothing you can do about it from your side.

via flips that around: the link is the stable thing, and docs come and go behind it. You get a short URL on getvia.io, custom names like getvia.io/d/your-name on the paid plan, and every visit re-exports the current doc.

Because the URL isn’t derived from a doc ID, you can change everything behind it without breaking links: reconnect a different doc, pause the link and bring it back, or keep editing in place. You never re-publish, and nobody ever has to re-download from a replacement link. The same URL stays current for as long as you want it to.

via doesn’t use this URL trick at all. It connects to your doc a different way, through the permission you grant when you sign in, so a via link keeps working even at organizations that block the export?format=pdf trick.

export?format=pdfvia
Survives replacing the docNo, new doc means new URLYes, reconnect on the same URL
Doc stays privateNo, “Anyone with the link”Yes, sharing settings untouched
The URLdocs.google.com plus the doc IDgetvia.io/d/your-name
Pause and resumeNoYes, same URL
Blocked by some IT teamsSometimes, company-wideNo
AnalyticsNoneDownloads, referrers, countries

And then there’s privacy

The export URL contains the doc ID, and by default anyone with that link can view the live document too, not just export it, by trimming the URL back to /edit. If the doc was shared with edit or comment rights rather than view-only, they get that too. Either way, you published the doc, not the PDF.

A via link is the opposite. Your doc stays private in your Drive. via only gets read access to the docs you pick through the Google Picker, and readers only ever receive the PDF, no Google account required.

If you’re weighing the options more broadly, start with how to share a Google Doc as a PDF link. And if you want the durable version of the trick: the free plan is one link, forever.

Get started

Free plan: one link, forever.