ข้ามไปยังเนื้อหา
SafhaSafha

In preparation

For developers

If you're a developer or care about privacy and want to understand what actually happens to your file, this page is for you. We'd rather you verify than simply take our word for it.

This page is being prepared, and we'll add to it over time.

Available now

Things that exist in Safha today, and that you can try yourself.
  • A direct link to every tool

    Each of the 58 tools has a stable address in this shape, in any interface language. Use it in a guide, a message or a help page.
    URL
    https://safhapdf.com/{locale}/{tool-id}
    
    https://safhapdf.com/th/merge-pdf
    https://safhapdf.com/th/compress-pdf
  • Content Security Policy (CSP)

    Every page is served with a header that stops it from talking to any domain other than ours. Read it yourself from the command line:
    shell
    curl -sI https://safhapdf.com/th/merge-pdf | grep -i content-security-policy
    Content-Security-Policy
    connect-src 'self' blob: data:

Check it yourself today

In a desktop browser such as Chrome, Edge or Firefox:
  1. Open a tool marked “On your device”, such as Merge PDF.
  2. Press F12 (or Cmd+Option+I on a Mac) to open the developer tools and switch to the Network tab.
  3. Pick your file, run the tool and watch the requests that appear.
  4. You'll see requests that load the page and a small usage-statistics request (tool name, success and duration), but no request carrying the contents of your file.
Tools marked “On our server” will show a request that sends your file to our server. That is expected and stated on the tool.

ตรวจสอบด้วยตัวเอง

Not available yet

  • Public API

    Not available
    There is no public API for developers at the moment.
  • Embedding the tools in your site (iframe)

    Not available
    Not possible today: the site does not allow its pages inside other sites (frame-ancestors 'none').

What may come here

  • How local processing works

    เร็ว ๆ นี้
    A plain technical explanation of how the tools run in the browser, and which tools use the server and why.
  • Ways to verify

    เร็ว ๆ นี้
    Step-by-step ways to check for yourself that your file isn't sent anywhere when you use an on-device tool.
  • Notes on Arabic in PDFs

    เร็ว ๆ นี้
    What we've learned about connected letters, text direction and extracting Arabic from PDF files.

Is the code open source?

We haven't decided yet whether to publish the source code. If that changes, we'll announce it here.

ส่งอีเมลถึงเรา

Have a technical question or a privacy concern? Email us at: