---
title: "Sign a PDF with your .p12 certificate, without uploading it"
description: "DocuFirma signs your PDF with your .p12 certificate inside the browser. How it works, what its limits are and why Backend Studio offers it for free."
url: https://backendstudio.com/en/blog/your-electronic-signature-never-leaves-your-computer
language: en
alternate: https://backendstudio.com/blog/tu-firma-electronica-no-sale-de-tu-computadora
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://backendstudio.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Your electronic signature never leaves your computer.

October 12, 2026 2 min read

Written by Juan Daniel Cardenas

- [Labs](https://backendstudio.com/en/blog/category/Labs)
- [Cloudflare](https://backendstudio.com/en/blog/category/Cloudflare)

Almost every guide to electronic signatures in Ecuador says the same thing: don't upload your .p12 file to sites you don't know. They are right. That file is your identity.

That is why DocuFirma works differently. Your PDF, your certificate and your password stay in your browser. Our site only delivers the tools, and everything that happens to your files happens on your device.

## How it works

We use features the browser already has:

- **Web Crypto**, the browser's built-in cryptography, creates the signature with your key. The key is marked as non-exportable, which makes it hard to get it out of there.
- **Web Workers** assemble the PDF in the background, so the screen doesn't freeze with large files.
- **Service Worker and cache** store the public tools before you pick your files. That is why, once you see “Ready offline”, you can disconnect from the internet and still sign.

To read and edit the PDF we use public libraries such as libpdf and PDF.js. The signature comes out in PAdES format with SHA-256, the standard for PDF signatures.

You don't have to take our word for it. Open your browser's developer tools, go to the Network tab and watch what goes out when you sign. The [privacy page](https://docufirma.org/privacidad) has the step-by-step, including the offline test.

## What it doesn't do yet

The signing date comes from your device's clock, not from a timestamping authority. It also doesn't check whether your certificate has been revoked. Verify the final document in FirmaEC, or with whatever the recipient requires.

## Why it's free

We wanted to test how far the technology in today's browsers can go for signing documents: local cryptography, background processing and offline work. The way to find out was to build a real tool, with real .p12 certificates and real PDFs.

It turned out useful enough not to keep to ourselves. DocuFirma is available to any person or organization that needs to sign a PDF with their certificate. It asks for no account, email or card, and it costs nothing.

**[Try DocuFirma](https://docufirma.org/)**

## What do you need to build?

Tell us where you are and where you want to go. We reply within 24 business hours.

[Contact us](https://backendstudio.com/en/contact) [Book a call](https://calendly.com/tiago-backendstudio)
