---
title: "Discussion on \"Why I'm building an HTML to PDF tool that works in every language\" | Hashnode"
description: "Discussion on \"Why I'm building an HTML to PDF tool that works in every language\". I needed PDFs in one project, so I built my own converter, then turned it into a shared SDK with Indian language support. Beta coming soon."
url: "https://hashnode.com/posts/why-i-m-building-an-html-to-pdf-tool-that-works-in-every-language/6ac25cd78d94f257fb91a685"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why I'm building an HTML to PDF tool that works in every language](https://blogs.akashpal.dev/why-i-m-building-an-html-to-pdf-tool-that-works-in-every-language?utm_source=hashnode&utm_medium=feed)

I needed PDFs in one project, so I built my own converter, then turned it into a shared SDK with Indian language support. Beta coming soon.

Oct 4 · 2 min read · blogs.akashpal.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#pdf](https://hashnode.com/tag/pdf)
-   [#buildinpublic](https://hashnode.com/tag/buildinpublic)
-   [#npm](https://hashnode.com/tag/npm)

## Written by

[Akash Pal](https://hashnode.com/@Apj32)

@Apj32 · Mumbai

  
[View profile](https://hashnode.com/@Apj32)

## Responses 4

Markdown supported · ⌘↵ to post

[Akash Pal](https://hashnode.com/@Apj32)

[Oct 10](https://hashnode.com/posts/why-i-m-building-an-html-to-pdf-tool-that-works-in-every-language/6ac25cd78d94f257fb91a685/comment/6aca3c4964fb5adeec853fc3)

Thanks for the thoughtful comment. Great questions! Fonts are bundled — Noto Sans Devanagari (plus 10 other Indic scripts) ships with the API, so Hindi conjuncts and mixed Hindi/English lines shape correctly out of the box, and you can embed your own via @font-face. The PDF link is presigned and expires in 1 hour for safety. And yes — PDFs stay in storage until you delete them; a delete endpoint is on the roadmap for the beta, so you'll have full control over your users' data.

[Mohan](https://hashnode.com/@resumeorbitz)

[Oct 8](https://hashnode.com/posts/why-i-m-building-an-html-to-pdf-tool-that-works-in-every-language/6ac25cd78d94f257fb91a685/comment/6ac7ccf9b9cbc3bfd676713a)

Love that this started as a fix for your own project. That's usually the best kind of tool. I run a resume builder, so PDF export is the feature I worry about most. Multilingual is where I'd stress-test you first: Hindi conjuncts, or Hindi and English mixed on one line, break a lot of HTML-to-PDF setups unless the font is embedded. Do you bundle something like Noto, or does the caller pass the font? Also curious if the PDF link expires. For files with personal data, a short-lived URL would be a big trust point. Following for the beta.

[Akash Pal](https://hashnode.com/@Apj32)

[Oct 22](https://hashnode.com/posts/why-i-m-building-an-html-to-pdf-tool-that-works-in-every-language/6ac25cd78d94f257fb91a685/comment/6ac7ccf9b9cbc3bfd676713a#reply-6ada5ef313b68781678045ab)

Hey Mohan — quick update since you mentioned wanting to stress-test Hindi conjuncts and expiring links for your resume builder! The production beta and TypeScript SDK (@akcraft/html2pdf-sdk) just went live at [https://html2pdf.akcraft.app](https://html2pdf.akcraft.app/)

It ships with Google Noto fonts across 21 Indian languages (12 scripts) and waits for document.fonts.ready so mixed Hindi/English resume lines never render as tofu boxes—plus every PDF returns a 1-hour presigned URL with an on-demand DELETE endpoint and 2-hour auto-cleanup. Would love to see how your toughest bilingual resume template holds up on it!

[Mohan](https://hashnode.com/@resumeorbitz)

[Oct 30](https://hashnode.com/posts/why-i-m-building-an-html-to-pdf-tool-that-works-in-every-language/6ac25cd78d94f257fb91a685/comment/6ac7ccf9b9cbc3bfd676713a#reply-6ae4b8ddd19293b4e69658ee)

Congrats on the beta launch, Akash! 21 Indian languages plus waiting on document.fonts.ready is exactly what bilingual resumes need, and the DELETE endpoint with auto-cleanup covers the trust part nicely. Bookmarking it for when I revisit PDF export.
