A modern, browser-based PDF text editor that allows you to add text overlays to PDF documents with real-time preview.
- 📄 PDF Loading: Automatically loads PDFs when selected
- ✏️ Text Addition: Add text at specific coordinates with customizable font size
- 🔍 Real-time Preview: Live preview with zoom controls and page navigation
- 💾 Text History: Persistent storage of all text entries with edit/delete functionality
- 📤 Export/Import: JSON-based backup and restore of text configurations
- ✅ Special Characters: Supports checkmarks (converts "true" to check images)
- 📱 Responsive Design: Works on desktop and mobile devices
- Clone the repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser to
http://localhost:3000
Or manually:
-
Install Vercel CLI:
npm i -g vercel
-
Deploy:
vercel
-
Follow the prompts to deploy your application
- Select a PDF: Click "Choose PDF File" to select and automatically load a PDF
- Add Text:
- Enter your text content
- Set X/Y coordinates for positioning
- Adjust font size as needed
- Click "Add Text"
- Navigate: Use page controls and zoom to navigate your document
- Manage History: View, edit, or delete previously added text entries
- Save: Download your modified PDF with all text additions
- Frontend: Vanilla JavaScript, HTML5, CSS3
- PDF Processing: PDF-lib for manipulation, PDF.js for rendering
- Styling: Modern CSS with gradients and animations
- Storage: LocalStorage for text history persistence
- Deployment: Optimized for Vercel static hosting
- Chrome/Edge 80+
- Firefox 75+
- Safari 13+
MIT License - see LICENSE file for details