Skip to content

marichu-kt/GhostMark

Repository files navigation

GhostMark banner

GhostMark banner

Private PDF watermark editor in your browser.

Open GhostMark · PDF Watermark Editor · Disclaimer


Overview

GhostMark is a free, privacy-first PDF watermark editor.

It lets you add text, image, pattern, and professional seal watermarks to PDF files directly in your browser.

Your PDF is processed locally. It is not uploaded to a server.

%%{init: {
  "theme": "base",
  "themeVariables": {
    "background": "transparent",
    "fontFamily": "Inter, ui-sans-serif, system-ui, sans-serif",
    "primaryTextColor": "#F8FAFC",
    "lineColor": "#64748B"
  }
}}%%
flowchart LR
    A[Import PDF] --> B[Add watermark layers]
    B --> C[Preview locally]
    C --> D[Export PDF]

    classDef importNode fill:#0F172A,stroke:#38BDF8,stroke-width:2px,color:#F8FAFC;
    classDef editNode fill:#1E1B4B,stroke:#A78BFA,stroke-width:2px,color:#F8FAFC;
    classDef previewNode fill:#3B0764,stroke:#F472B6,stroke-width:2px,color:#F8FAFC;
    classDef exportNode fill:#450A0A,stroke:#FF4B5C,stroke-width:2px,color:#F8FAFC;

    class A importNode;
    class B editNode;
    class C previewNode;
    class D exportNode;
Loading

Note

GhostMark is a static browser app. It has no backend, no upload endpoint, and no account system.


Demo

Home page — attach your PDFs to apply watermarks

GhostMark upload screen

Sample Preview
Empty PDF
Clean baseline document used for testing.
Open PDF
Empty PDF sample preview
Text watermark
A simple confidential text watermark.
Open PDF
Text watermark sample preview
Image watermark
A centered image watermark with preserved aspect ratio.
Open PDF
Image watermark sample preview
Pattern watermark
A repeated pattern watermark across the page.
Open PDF
Pattern watermark sample preview
SafeLayer
A dense wavy protection layer with contour texture.
Open PDF
SafeLayer sample preview
Seal watermark
Circular and rectangular review stamps.
Open PDF
Seal watermark sample preview
Blackout
Black rectangles flattened into the exported PDF.
Open PDF
Blackout sample preview
QR code
A scannable QR watermark positioned on the page.
Open PDF
QR code sample preview
Barcode
A local Code 128 barcode watermark for document IDs.
Open PDF
Barcode sample preview
Signature
A visual signature mark rendered into the exported PDF.
Open PDF
Signature sample preview
Password
An encrypted export protected with password settings.
Open PDF
Password protection sample preview

Features

  • Text watermark — add custom text with size, opacity, color, rotation, and position controls.
  • Image watermark — place a logo or image over your PDF while preserving aspect ratio.
  • Pattern watermark — repeat text across pages as a subtle document mark.
  • Professional seal — add document-control style circular or rectangular stamps.
  • SafeLayer protection — apply a dense wavy protection layer with contour texture.
  • Blackout redaction — cover sensitive areas with black rectangles that are flattened into the export.
  • QR code watermark — add a local QR code layer and position it directly on the page.
  • Barcode watermark — add Code 128, Code 39, or validated EAN-13 barcodes for document IDs.
  • Visual signature — add a typed signature or draw one locally with the pointer.
  • Password protection — encrypt exported PDFs with a password after flattening.
  • Password-protected PDF import — unlock encrypted PDFs locally before editing.
  • Multi-layer editing — combine several visual layers in one PDF.
  • Live preview — review changes before exporting.
  • Image-based flattened export — export pages as flattened image-based PDF pages to remove normal text selection.
  • Metadata cleanup — remove standard document metadata during export.
  • Local PDF export — generate the final PDF in your browser.
  • No upload — files stay on your device while you work.

Tip

Combine a subtle repeated pattern with a professional seal for documents that need both visibility and document-control style marking.


How to use

  1. Open GhostMark.
  2. Import a PDF.
  3. Add one or more watermark layers.
  4. Preview the result locally.
  5. Export a new PDF.

Important

The preview is visual. The exported PDF is the authoritative final output.


Privacy model

GhostMark is designed to run without a backend.

It does not include:

  • upload endpoints
  • user accounts
  • analytics
  • cookies
  • telemetry
  • tracking
  • cloud sync
  • databases

Files stay in browser memory while you work.

Warning

Hosted GitHub Pages may still generate provider-level technical access logs, such as request time, IP address, browser metadata, or requested paths. This is outside GhostMark’s application code.

Caution

For sensitive, regulated, confidential, or classified documents, use a local/offline build in a controlled environment. GhostMark is not a certified legal, compliance, forensic, records-management, or classified-document handling system.


Run locally

npm install
npm run dev
npm run build

Preview the production build:

npm run preview

Tip

For more private workflows, build the app locally and run it in an isolated environment with network access disabled.


Supported languages

English

GhostMark is a private PDF watermark editor that runs in your browser.

  • Add text, image, pattern, and professional seal watermarks.
  • Preview the PDF locally before exporting.
  • Export a new watermarked PDF.
  • Files are not uploaded to a server.
Español

GhostMark es un editor privado para poner marcas de agua en PDF desde el navegador.

  • Añade marcas de texto, imagen, patrón y sello profesional.
  • Revisa el PDF con vista previa local.
  • Exporta un nuevo PDF con marca de agua.
  • Los archivos no se suben a ningún servidor.
Français

GhostMark est un éditeur privé de filigranes PDF dans le navigateur.

  • Ajoutez du texte, des images, des motifs et des sceaux professionnels.
  • Prévisualisez le PDF localement avant l’export.
  • Exportez un nouveau PDF filigrané.
  • Les fichiers ne sont pas téléversés vers un serveur.
Português

GhostMark é um editor privado de marcas d’água em PDF no navegador.

  • Adicione marcas de texto, imagem, padrão e selo profissional.
  • Visualize o PDF localmente antes de exportar.
  • Exporte um novo PDF com marca d’água.
  • Os arquivos não são enviados para um servidor.
中文

GhostMark 是一个在浏览器中运行的私密 PDF 水印编辑器。

  • 添加文字、图片、图案和专业印章水印。
  • 在本地预览 PDF。
  • 导出新的带水印 PDF。
  • 文件不会上传到服务器。
हिन्दी

GhostMark ब्राउज़र में चलने वाला निजी PDF वॉटरमार्क एडिटर है।

  • टेक्स्ट, इमेज, पैटर्न और प्रोफेशनल सील वॉटरमार्क जोड़ें।
  • एक्सपोर्ट से पहले PDF को स्थानीय रूप से प्रीव्यू करें।
  • नया वॉटरमार्क वाला PDF एक्सपोर्ट करें।
  • फ़ाइलें किसी सर्वर पर अपलोड नहीं होतीं।
العربية

GhostMark محرر خاص لإضافة العلامات المائية إلى ملفات PDF داخل المتصفح.

  • أضف علامات مائية نصية أو صورية أو نمطية أو أختامًا احترافية.
  • عاين ملف PDF محليًا قبل التصدير.
  • صدّر ملف PDF جديدًا بعلامة مائية.
  • لا يتم رفع الملفات إلى أي خادم.
বাংলা

GhostMark হলো ব্রাউজারে চলা একটি ব্যক্তিগত PDF ওয়াটারমার্ক সম্পাদক।

  • টেক্সট, ছবি, প্যাটার্ন এবং পেশাদার সিল ওয়াটারমার্ক যোগ করুন।
  • এক্সপোর্টের আগে PDF স্থানীয়ভাবে প্রিভিউ করুন।
  • নতুন ওয়াটারমার্কযুক্ত PDF এক্সপোর্ট করুন।
  • ফাইল কোনো সার্ভারে আপলোড হয় না।
Русский

GhostMark — приватный редактор водяных знаков PDF в браузере.

  • Добавляйте текстовые, графические, шаблонные и профессиональные водяные знаки.
  • Просматривайте PDF локально перед экспортом.
  • Экспортируйте новый PDF с водяным знаком.
  • Файлы не загружаются на сервер.
اردو

GhostMark براؤزر میں چلنے والا نجی PDF واٹرمارک ایڈیٹر ہے۔

  • متن، تصویر، پیٹرن اور پروفیشنل سیل واٹرمارک شامل کریں۔
  • ایکسپورٹ سے پہلے PDF کا مقامی پریویو دیکھیں۔
  • نیا واٹرمارک شدہ PDF ایکسپورٹ کریں۔
  • فائلیں کسی سرور پر اپلوڈ نہیں ہوتیں۔
עברית

GhostMark הוא עורך פרטי להוספת סימני מים לקובצי PDF בדפדפן.

  • הוספת סימני מים מסוג טקסט, תמונה, תבנית וחותמת מקצועית.
  • תצוגה מקדימה מקומית לפני ייצוא.
  • ייצוא קובץ PDF חדש עם סימן מים.
  • הקבצים אינם מועלים לשרת.

Notes

  • Preview is visual; export is authoritative.
  • Very large PDFs may be slower to preview or export.
  • The hosted GitHub Pages version is public static hosting.
  • For sensitive files, prefer a local/offline build.
  • Vite is configured for GitHub Pages with base: "/GhostMark/".

License

GhostMark is released under the MIT License. See LICENSE.

Responsible use, liability, and legal notes are available in DISCLAIMER.md.