TwoPDF โ€” Technical Specification CONFIDENTIAL

Technical Specification Document

TwoPDF Platform

An all-in-one, AI-powered PDF utility platform offering 16+ tools for document conversion, manipulation, and management โ€” 100% free and browser-based.

URLtwopdf.com
StatusLive
Tools16 Modules
01

Scope & Objectives

TwoPDF is a comprehensive, web-based document tools platform. The application runs entirely in the browser, requiring no installation, login, or subscription. All operations are client-side or lightweight server-side.

โœ… In Scope

  • 16 functional PDF tool modules
  • Drag-and-drop file upload
  • Instant file processing & download
  • Responsive, mobile-ready UI
  • Cross-browser compatibility

โŒ Out of Scope

  • User authentication / accounts
  • Cloud file storage
  • Batch API access
  • Mobile native apps

๐Ÿ› ๏ธ Technical Skills & Stack

Frontend

  • โš›๏ธ React.js
  • ๐ŸŽจ Tailwind CSS
  • ๐ŸŒ HTML5 / CSS3
  • โšก JavaScript (ES6+)

Backend

  • ๐ŸŸข Node.js
  • ๐Ÿ˜ Laravel (PHP)
  • ๐Ÿ”— REST API
  • ๐Ÿ“ฆ Composer / npm

PDF Libraries

  • ๐Ÿ“„ pdf-lib
  • ๐Ÿ“‘ PDF.js
  • ๐Ÿ–จ๏ธ TCPDF / DOMPDF
  • ๐Ÿ”ง Ghostscript
02

Technology Stack

Frontend

HTML / CSS / JS

Styling

Tailwind CSS

PDF Engine

PDF.js / jsPDF

File Handling

File API / Drag-Drop

Compression

JSZip

Hosting

Cloud / CDN


Module Specifications


๐Ÿ—‚๏ธ

Merge PDF

twopdf.com/pdf/margepdf

Combines multiple PDF files into a single document. Files can be drag-and-dropped and reordered before merging.

Input

Multiple .pdf files

Output

Single merged .pdf

UI

Drag & drop zone

Merge PDF screenshot
โœ‚๏ธ

Split PDF

twopdf.com/pdf/splitpdf

Extracts individual pages or page ranges from a PDF file, outputting each as a separate document.

Input

Single .pdf file

Output

Individual page PDFs

UI

File selector

Split PDF screenshot
๐Ÿ“ฆ

PDF to ZIP

twopdf.com/pdf/pdfzip

Bundles multiple PDF files into a compressed ZIP archive for easy sharing and reduced file size.

Input

Multiple .pdf files

Output

.zip archive

Library

JSZip

PDF to ZIP screenshot
๐Ÿ“„

PDF to Text

twopdf.com/pdf/pdftotxt

Extracts all text content from a PDF file and outputs it as a plain .txt file. Near 100% accuracy using OCR/text layer extraction.

Input

.pdf file

Output

.txt file

Accuracy

~100%

PDF to Text screenshot
๐Ÿ“Š

PDF to PPT

twopdf.com/pdf/pdftoppt

Converts PDF documents into editable PowerPoint (.pptx) presentations. Each PDF page maps to a slide.

Input

.pdf file

Output

.pptx file

Mapping

1 page = 1 slide

PDF to PPT screenshot
๐Ÿ–ผ๏ธ

Image to PDF

twopdf.com/pdf/imgtopdf

Converts one or more images (JPG, PNG, etc.) into a single PDF document. Images are selected from the gallery.

Input

JPG, PNG, WebP

Output

.pdf file

Multi-image

Yes

Image to PDF screenshot
๐Ÿ”

Protect PDF

twopdf.com/pdf/protectpdf

Generates a password-protected PDF from user-entered text content. Prevents unauthorized access to sensitive documents.

Input

Text + password

Output

Encrypted .pdf

Encryption

Password-based

Protect PDF screenshot
๐Ÿ’ง

Watermark PDF

twopdf.com/pdf/watermarkpdf

Stamps a custom text watermark over a PDF. Users can configure position, font size, and opacity before generating.

Input

.pdf + watermark text

Options

Position, Size, Opacity

Output

Watermarked .pdf

Watermark PDF screenshot
๐Ÿ“

Word (DOCX) to HTML

twopdf.com/pdf/word-to-pdf

Converts DOCX files to an HTML preview that can be rendered and exported. Preserves document structure and formatting.

Input

.docx file

Output

HTML preview

Action

Generate Preview

Word to PDF screenshot
๐Ÿ“‘

PPT to PDF

twopdf.com/pdf/ppt-to-pdf

Converts PPTX slideshow files into text-based PDF documents. Supports text preview and direct PDF export.

Input

.pptx file

Output

.pdf (text-based)

Actions

Preview + Export

PPT to PDF screenshot
๐Ÿ“Š

Excel to PDF

twopdf.com/pdf/excel-to-pdf

Converts Excel spreadsheet files (.xlsx) to PDF or HTML format. Two export options available.

Input

.xlsx file

Output

.pdf or .html

Actions

Convert / Export HTML

Excel to PDF screenshot
๐Ÿ–ผ๏ธ

PDF to JPG

twopdf.com/pdf/pdf-to-jpg

Converts each page of a PDF into high-quality JPG image files. Useful for presentations, thumbnails, and sharing.

Input

.pdf file(s)

Output

.jpg per page

Quality

High resolution

PDF to JPG screenshot
๐Ÿ”„

PDF Rotate

twopdf.com/pdf/rotate-pdf

Rotates PDF pages in any direction. Includes a live preview with a bottom toolbar for rotation controls per page.

Input

.pdf file

Controls

Per-page toolbar

Preview

Live inline

PDF Rotate screenshot
๐ŸŒ

HTML to PDF

twopdf.com/pdf/html-to-pdf

Uploads an HTML file and converts it to a PDF document, preserving styles and layout structure.

Input

.html file

Output

.pdf file

Layout

Preserved

HTML to PDF screenshot
๐Ÿ—œ๏ธ

Compress PDF

twopdf.com/pdf/compress-pdf

Reduces PDF file size while maintaining document quality. Compresses and outputs as a ZIP archive.

Input

Multiple .pdf files

Output

Compressed .zip

Method

Lossless compression

Compress PDF screenshot
๐Ÿ‘๏ธ

Document Viewer

twopdf.com/pdf/pdf-viewer

An in-browser PDF viewer that allows users to open and read PDF documents without downloading or using external software.

Input

.pdf file

Output

Inline viewer

Engine

PDF.js

Document Viewer screenshot
UX

UX Patterns

๐Ÿ“ฅ File Upload

Dashed green border drop zone with fallback "Select" button. Consistent across all 16 modules.

๐Ÿ”ต Primary Action

Blue CTA button (Convert/Generate/Export). Secondary actions in green or outlined styles.

๐Ÿ—‚๏ธ Popular Modules Grid

Below every tool page, a 5-column grid of all modules provides quick cross-navigation.

๐Ÿ“ Layout

Top navigation bar with all tools listed. Centered, single-column content layout. Clean white background.

๐Ÿ“ธ

All Screenshots

ss1 ss2 ss3 ss4 ss5 ss6 ss7 ss8 ss9 ss10 ss11 ss12 ss13 ss14 ss15 ss16 ss17