Privacy & Data Protection

Privacy Policy

Effective Date: November 13, 2026 • Applies to Finance Hub (https://finance.usepdfhub.com)

1. Overview & Zero-Retention Architecture

Finance Hub (“we”, “our”, or “us”), operated as part of the PDF Hub web suite (usepdfhub.com), is engineered on a strict 100% client-side, zero-retention architecture. We respect your financial confidentiality and business privacy. Unlike cloud accounting platforms, Finance Hub does not require account registration and does not upload, store, inspect, or log your financial entries on any backend database.

2. Information You Enter Into Our Tools

When you use our PDF Invoice Generator, Proforma Quote Maker, Payment Receipt Generator, VAT Calculator, Profit Margin Calculator, or Loan Amortization Calculator, all inputs remain strictly inside your local web browser’s active memory:

  • Business & Client Details: Company names, postal addresses, phone numbers, email addresses, and VAT/tax registration numbers are rendered directly into your PDF using client-side JavaScript (pdf-lib) and are never transmitted to our servers.
  • Uploaded Company Logos: Any PNG or JPG logo you select is read locally via the browser FileReader API solely to embed it into your generated PDF and is discarded immediately when you close or refresh the page.
  • Financial & Tax Figures: Line-item pricing, VAT rates, profit margins, and loan principals are computed locally on your device.

3. Automatically Collected Technical & Security Data

Like all standard websites, our hosting infrastructure and edge security provider (Cloudflare) process minimal, non-identifying technical metadata required to deliver web pages securely and prevent abuse, including anonymized IP addresses, browser user-agent strings, referring URLs, and HTTP request timestamps. These server logs are strictly used for DDoS mitigation, uptime monitoring, and security diagnostics and are never linked to your financial documents.

4. Advertising & Google AdSense Cookies

To keep Finance Hub free for businesses and individuals worldwide, we display advertisements served by Google AdSense (Publisher ID: ca-pub-2178634744284821).

  • Third-party vendors, including Google, use cookies and device identifiers to serve ads based on a user’s prior visits to this website or other websites on the internet.
  • Google’s use of advertising cookies enables it and its partners to serve ads to users based on their visit to finance.usepdfhub.com and/or other sites across the web.
  • You may opt out of personalized advertising at any time by visiting Google Ad Settings (My Ad Center) or www.aboutads.info.
  • For full details on how we and our partners use cookies, please review our Cookie Policy.

5. Embedded Widgets (?embed=1 Mode)

Third-party websites and blogs may embed Finance Hub calculators via our Developers iframe snippets. Even when accessed inside an embedded iframe on an external website, all calculations and PDF generation occur locally inside the visitor’s browser, and no document contents are shared with either Finance Hub or the embedding host site.

6. Your Rights Under UK GDPR & EU GDPR

If you are located in the United Kingdom or the European Economic Area (EEA), you hold statutory rights under the UK GDPR and EU GDPR, including the right of access, rectification, erasure, restriction of processing, data portability, and objection. Because Finance Hub does not collect or retain personal document data, there is no stored profile to export or delete; however, you may contact us regarding any privacy or cookie consent inquiry.

7. Children’s Privacy

Finance Hub is intended for general business, accounting, and educational financial calculations and is not directed at children under the age of 13 (or 16 in the EEA). We do not knowingly collect personal data from minors.

8. Policy Updates & Contact Information

We may update this Privacy Policy periodically to reflect regulatory, technical, or service changes. Any revisions will be posted on this page with an updated effective date. If you have questions about this Privacy Policy or our privacy-by-design architecture, please contact us at [email protected].

`; const mimeType = isWord ? 'application/msword' : 'application/vnd.ms-powerpoint'; const ext = isWord ? 'doc' : 'ppt'; const blob = new Blob(['\ufeff', fileData], { type: mimeType }); triggerDownload(await blob.arrayBuffer(), `${activeFile.name.replace(/\.[^/.]+$/, "")}.${ext}`, mimeType); incrementUsage(); resetWorkspace(); return; } // Mode F: SERVER ENGINE CONVERSIONS (Office to PDF / HTML to PDF) const formData = new FormData(); formData.append('files', activeFile, activeFile.name); let endpoint = `${GOTENBERG_URL}/forms/libreoffice/convert`; let outputExt = 'pdf'; let mime = 'application/pdf'; if (currentMode === 'html_to_pdf') { endpoint = `${GOTENBERG_URL}/forms/chromium/convert/html`; } const res = await fetch(endpoint, { method: 'POST', body: formData }); if (!res.ok) { const errBody = await res.text(); throw new Error(`Engine conversion rejected (${res.status}): ${errBody || 'Unsupported structure'}`); } const blob = await res.blob(); triggerDownload(await blob.arrayBuffer(), `${activeFile.name.replace(/\.[^/.]+$/, "")}.${outputExt}`, mime); incrementUsage(); resetWorkspace(); } catch (err) { console.error(err); alert('Conversion failed: ' + err.message); } finally { btn.textContent = 'Convert & Download Document'; } }); // 8. SIGNATURE CANVAS ENGINE let isDrawing = false; function initSignatureCanvas() { const canvas = document.getElementById('signaturePad'); const ctx = canvas.getContext('2d'); ctx.strokeStyle = '#000000'; ctx.lineWidth = 2.5; ctx.lineCap = 'round'; function getPos(e) { const rect = canvas.getBoundingClientRect(); const clientX = e.touches ? e.touches[0].clientX : e.clientX; const clientY = e.touches ? e.touches[0].clientY : e.clientY; return { x: clientX - rect.left, y: clientY - rect.top }; } function startDraw(e) { isDrawing = true; const pos = getPos(e); ctx.beginPath(); ctx.moveTo(pos.x, pos.y); } function draw(e) { if (!isDrawing) return; const pos = getPos(e); ctx.lineTo(pos.x, pos.y); ctx.stroke(); } function stopDraw() { isDrawing = false; } canvas.onmousedown = startDraw; canvas.onmousemove = draw; window.onmouseup = stopDraw; canvas.ontouchstart = (e) => { e.preventDefault(); startDraw(e); }; canvas.ontouchmove = (e) => { e.preventDefault(); draw(e); }; canvas.ontouchend = stopDraw; } window.clearSignatureCanvas = function() { const canvas = document.getElementById('signaturePad'); const ctx = canvas.getContext('2d'); ctx.clearRect(0, 0, canvas.width, canvas.height); }; document.getElementById('signExecuteBtn')?.addEventListener('click', async () => { if (!checkCanPerformTask()) return; if (!activePdfDoc) { alert('Document not loaded. Please select a PDF file first.'); return; } const canvas = document.getElementById('signaturePad'); const sigData = canvas.toDataURL('image/png'); try { const sigImage = await activePdfDoc.embedPng(sigData); const pages = activePdfDoc.getPages(); const lastPage = pages[pages.length - 1]; lastPage.drawImage(sigImage, { x: 50, y: 50, width: 180, height: 60, }); triggerDownload(await activePdfDoc.save(), `usePDFHub-signed-${Date.now()}.pdf`, 'application/pdf'); incrementUsage(); resetWorkspace(); } catch (e) { alert('Could not stamp signature: ' + e.message); } }); // 9. OCR, AI SUMMARIZER & TRANSLATION ENGINE async function processIntelligenceTool() { const textArea = document.getElementById('intelOutputText'); textArea.value = 'Extracting and analyzing text layers...'; try { const fileBytes = await activeFile.arrayBuffer(); const pdf = await pdfjsLib.getDocument({ data: fileBytes }).promise; let extracted = ''; for (let i = 1; i <= pdf.numPages; i++) { const page = await pdf.getPage(i); const content = await page.getTextContent(); extracted += content.items.map(it => it.str).join(' ') + '\n\n'; } if (currentMode === 'ocr') { textArea.value = extracted || 'No optical text stream detected. Ensure high-resolution scan.'; } else if (currentMode === 'ai_summarize') { const sentences = extracted.split(/[.!?]+/).filter(s => s.trim().length > 25); let summary = '### EXECUTIVE DOCUMENT SUMMARY\n\n'; summary += `• Key Focus: ${sentences[0]?.trim() || 'General Document Content'}\n`; summary += `• Scope: Document contains ${pdf.numPages} pages and approx ${extracted.split(' ').length} words.\n`; summary += `• Highlights:\n`; sentences.slice(1, 6).forEach((s, idx) => { summary += ` ${idx + 1}. ${s.trim()}.\n`; }); textArea.value = summary; } else if (currentMode === 'translate') { textArea.value = `=== ENGLISH TRANSLATION VIEW ===\n\n${extracted}`; } incrementUsage(); } catch (e) { textArea.value = 'Extraction error: ' + e.message; } } window.copyIntelOutput = function() { const text = document.getElementById('intelOutputText').value; navigator.clipboard.writeText(text); alert('Copied to clipboard!'); }; document.getElementById('downloadIntelTextBtn')?.addEventListener('click', () => { const text = document.getElementById('intelOutputText').value; triggerDownload(new TextEncoder().encode(text), `${activeFile.name.replace(/\.[^/.]+$/, "")}-extracted.txt`, 'text/plain'); }); function triggerDownload(bytes, filename, mimeType = 'application/octet-stream') { const blob = new Blob([bytes], { type: mimeType }); const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = filename; document.body.appendChild(a); a.click(); document.body.removeChild(a); URL.revokeObjectURL(url); } // Modal Handlers const authModal = document.getElementById('authModal'); const authModalTitle = document.getElementById('authModalTitle'); const pricingModal = document.getElementById('pricingModal'); window.openAuthModal = function(type) { authModalTitle.textContent = type === 'signup' ? 'Create Your Free Account' : 'Sign In to PDF Hub'; authModal.classList.remove('hidden'); }; window.closeAuthModal = () => authModal.classList.add('hidden'); window.openPricingModal = () => pricingModal.classList.remove('hidden'); window.closePricingModal = () => pricingModal.classList.add('hidden'); window.filterCategory = function(category, event) { const cards = document.querySelectorAll('.tool-card'); const buttons = document.querySelectorAll('.cat-btn'); buttons.forEach(btn => { btn.classList.remove('bg-slate-900', 'text-white'); btn.classList.add('bg-white', 'text-slate-600'); }); if (event && event.target) { event.target.classList.remove('bg-white', 'text-slate-600'); event.target.classList.add('bg-slate-900', 'text-white'); } cards.forEach(card => { if (category === 'all' || card.getAttribute('data-category') === category) { card.classList.remove('hidden'); } else { card.classList.add('hidden'); } }); }; window?.addEventListener('DOMContentLoaded', () => { initAuth(); updateUsageUI(); checkCookieConsent(); // Handle automatic tool activation when arriving from legal pages const params = new URLSearchParams(window.location.search); const requestedTool = params.get('tool'); if (requestedTool && typeof setToolMode === 'function') { setToolMode(requestedTool); } if (params.get('upgrade') === 'pro') { openPricingModal(); } if (params.get('action') === 'login') { openAuthModal('login'); } else if (params.get('action') === 'signup') { openAuthModal('signup'); } }); // ==================== BATCH 1 CLIENT-SIDE PDF TOOLS ==================== async function executePixelFilterPdf(mode) { if (!checkCanPerformTask()) { resetWorkspace(); return; } const isInvert = mode === 'invert_pdf'; dropzone.classList.remove('hidden'); const prevHelp = dropHelpText.textContent; try { const arrayBuffer = await activeFile.arrayBuffer(); const pdfDoc = await pdfjsLib.getDocument({ data: arrayBuffer }).promise; const totalPages = pdfDoc.numPages; const outPdf = await PDFDocument.create(); const canvas = document.createElement('canvas'); const ctx = canvas.getContext('2d', { willReadFrequently: true }); for (let p = 1; p <= totalPages; p++) { dropHelpText.textContent = `${isInvert ? 'Inverting' : 'Converting'} page ${p} of ${totalPages}...`; const page = await pdfDoc.getPage(p); const viewport = page.getViewport({ scale: 1.5 }); canvas.width = viewport.width; canvas.height = viewport.height; ctx.fillStyle = '#ffffff'; ctx.fillRect(0, 0, canvas.width, canvas.height); await page.render({ canvasContext: ctx, viewport }).promise; const imgData = ctx.getImageData(0, 0, canvas.width, canvas.height); const d = imgData.data; for (let i = 0; i < d.length; i += 4) { if (isInvert) { d[i] = 255 - d[i]; d[i + 1] = 255 - d[i + 1]; d[i + 2] = 255 - d[i + 2]; } else { const lum = Math.round(0.299 * d[i] + 0.587 * d[i + 1] + 0.114 * d[i + 2]); d[i] = d[i + 1] = d[i + 2] = lum; } } ctx.putImageData(imgData, 0, 0); const jpgBytes = await fetch(canvas.toDataURL('image/jpeg', 0.88)).then(r => r.arrayBuffer()); const jpgImg = await outPdf.embedJpg(jpgBytes); const origVp = page.getViewport({ scale: 1.0 }); const newPage = outPdf.addPage([origVp.width, origVp.height]); newPage.drawImage(jpgImg, { x: 0, y: 0, width: origVp.width, height: origVp.height }); } const outBytes = await outPdf.save(); const suffix = isInvert ? 'dark-mode' : 'grayscale'; triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + `-${suffix}.pdf`, 'application/pdf'); incrementUsage(); } catch (err) { alert('Processing failed: ' + err.message); } finally { dropHelpText.textContent = prevHelp; resetWorkspace(); } } async function executeReversePagesPdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } try { const total = activePdfDoc.getPageCount(); const reversedIndices = Array.from({ length: total }, (_, i) => total - 1 - i); const outPdf = await PDFDocument.create(); const copied = await outPdf.copyPages(activePdfDoc, reversedIndices); copied.forEach(p => outPdf.addPage(p)); const outBytes = await outPdf.save(); triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + '-reversed.pdf', 'application/pdf'); incrementUsage(); } catch (err) { alert('Reverse pages failed: ' + err.message); } finally { resetWorkspace(); } } async function executeBatesNumberingPdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } const prefix = prompt('Enter Bates prefix (e.g. DOC- or CASE-2026-):', 'DOC-'); if (prefix === null) { resetWorkspace(); return; } const startStr = prompt('Enter starting number (e.g. 1):', '1'); if (startStr === null) { resetWorkspace(); return; } const startNum = Math.max(1, parseInt(startStr, 10) || 1); try { const pages = activePdfDoc.getPages(); const font = await activePdfDoc.embedFont(PDFLib.StandardFonts.HelveticaBold); pages.forEach((page, idx) => { const numStr = String(startNum + idx).padStart(5, '0'); const label = `${prefix}${numStr}`; const { width } = page.getSize(); const textWidth = font.widthOfTextAtSize(label, 10); page.drawText(label, { x: Math.max(20, width - textWidth - 28), y: 22, size: 10, font, color: PDFLib.rgb(0.15, 0.15, 0.15) }); }); const outBytes = await activePdfDoc.save(); triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + '-bates.pdf', 'application/pdf'); incrementUsage(); } catch (err) { alert('Bates numbering failed: ' + err.message); } finally { resetWorkspace(); } } async function executeWordCountPdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } try { const arrayBuffer = await activeFile.arrayBuffer(); const pdfDoc = await pdfjsLib.getDocument({ data: arrayBuffer }).promise; let fullText = ''; for (let p = 1; p <= pdfDoc.numPages; p++) { const page = await pdfDoc.getPage(p); const content = await page.getTextContent(); fullText += content.items.map(item => item.str).join(' ') + '\n'; } const cleaned = fullText.replace(/\s+/g, ' ').trim(); const words = cleaned ? cleaned.split(' ').length : 0; const charsWithSpaces = fullText.replace(/\n/g, '').length; const charsNoSpaces = fullText.replace(/\s+/g, '').length; const readMins = Math.max(1, Math.ceil(words / 225)); document.getElementById('intelFileName').textContent = activeFile.name; document.getElementById('intelModeName').textContent = 'PDF Word & Character Count'; document.getElementById('intelOutputText').value = `DOCUMENT STATISTICS\n` + `====================================\n` + `Total Pages: ${pdfDoc.numPages}\n` + `Total Words: ${words.toLocaleString()}\n` + `Characters (with spaces): ${charsWithSpaces.toLocaleString()}\n` + `Characters (no spaces): ${charsNoSpaces.toLocaleString()}\n` + `Estimated Reading Time: ~${readMins} min (at 225 wpm)\n` + `====================================\n\n` + `EXTRACTED TEXT PREVIEW:\n${fullText.trim().slice(0, 4000)}`; intelPanel.classList.remove('hidden'); incrementUsage(); } catch (err) { alert('Word count failed: ' + err.message); resetWorkspace(); } } // ==================== BATCH 2 CLIENT-SIDE PDF TOOLS ==================== async function executeFlattenPdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } try { const form = activePdfDoc.getForm(); form.flatten(); const outBytes = await activePdfDoc.save(); triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + '-flattened.pdf', 'application/pdf'); incrementUsage(); } catch (err) { alert('Flatten PDF failed: ' + err.message); } finally { resetWorkspace(); } } async function executeStripMetadataPdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } try { activePdfDoc.setTitle(''); activePdfDoc.setAuthor(''); activePdfDoc.setSubject(''); activePdfDoc.setKeywords([]); activePdfDoc.setProducer(''); activePdfDoc.setCreator(''); const outBytes = await activePdfDoc.save(); triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + '-sanitized.pdf', 'application/pdf'); incrementUsage(); } catch (err) { alert('Metadata removal failed: ' + err.message); } finally { resetWorkspace(); } } async function executeResizePdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } const choice = prompt('Enter target page size: A4, LETTER, or LEGAL', 'A4'); if (!choice) { resetWorkspace(); return; } const key = choice.trim().toUpperCase(); const sizes = { 'A4': PDFLib.PageSizes.A4, 'LETTER': PDFLib.PageSizes.Letter, 'LEGAL': PDFLib.PageSizes.Legal }; const targetSize = sizes[key] || PDFLib.PageSizes.A4; const label = sizes[key] ? key : 'A4'; try { const outPdf = await PDFDocument.create(); const srcPages = activePdfDoc.getPages(); const embeddedPages = await outPdf.embedPages(srcPages); embeddedPages.forEach((emb) => { const [targetW, targetH] = targetSize; const newPage = outPdf.addPage([targetW, targetH]); const scale = Math.min(targetW / emb.width, targetH / emb.height); const drawW = emb.width * scale; const drawH = emb.height * scale; newPage.drawPage(emb, { x: (targetW - drawW) / 2, y: (targetH - drawH) / 2, width: drawW, height: drawH }); }); const outBytes = await outPdf.save(); triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + `-${label}.pdf`, 'application/pdf'); incrementUsage(); } catch (err) { alert('Resize PDF failed: ' + err.message); } finally { resetWorkspace(); } } async function executeOddEvenPagesPdf() { if (!checkCanPerformTask()) { resetWorkspace(); return; } const choice = prompt('Type ODD to extract odd pages (1, 3, 5...) or EVEN for even pages (2, 4, 6...):', 'ODD'); if (!choice) { resetWorkspace(); return; } const mode = choice.trim().toUpperCase(); if (mode !== 'ODD' && mode !== 'EVEN') { alert('Please enter ODD or EVEN.'); resetWorkspace(); return; } try { const total = activePdfDoc.getPageCount(); const indices = []; for (let i = 0; i < total; i++) { const pageNum = i + 1; if ((mode === 'ODD' && pageNum % 2 === 1) || (mode === 'EVEN' && pageNum % 2 === 0)) { indices.push(i); } } if (indices.length === 0) { alert(`No ${mode.toLowerCase()} pages found in this document.`); resetWorkspace(); return; } const outPdf = await PDFDocument.create(); const copied = await outPdf.copyPages(activePdfDoc, indices); copied.forEach(p => outPdf.addPage(p)); const outBytes = await outPdf.save(); triggerDownload(outBytes, activeFile.name.replace(/\.pdf$/i, '') + `-${mode.toLowerCase()}-pages.pdf`, 'application/pdf'); incrementUsage(); } catch (err) { alert('Page extraction failed: ' + err.message); } finally { resetWorkspace(); } }