A comprehensive guide on how to use the PDF & Image Editor application.
Method 1: Direct File Access (Simplest)
- Download/clone the repository
- Navigate to the folder
- Double-click
index.html - Your default browser opens the app
Method 2: Local Server (Recommended for full features)
# Using Python 3
python -m http.server 8000
# Using Node.js
npx serve
# Using PHP
php -S localhost:8000Then open http://localhost:8000 in your browser.
Method 3: Install as PWA
- Open the app in Chrome or Edge
- Look for the install icon (⊕) in the address bar
- Click "Install" to add it to your desktop/home screen
- Launch like any other app - works offline!
- Switch between editors: Click the "PDF Editor" or "Image Editor" tabs at the top
- Toggle theme: Click the sun/moon icon in the header to switch between light and dark modes
- Upload a file: Drag & drop or click the upload area
Option 1: Drag & Drop
- Drag a PDF file from your file manager
- Drop it onto the upload area
- The PDF loads and displays all pages
Option 2: File Picker
- Click "Choose Files" button
- Select one or more PDF files
- Click "Open"
Multiple Files
- Upload multiple PDFs to prepare for merging
- Each file is loaded in sequence
- Click the "Add Text" button (T icon) in the toolbar
- A message appears: "Click on a page to add text"
- Click on any page where you want to add text
- A dialog appears with text options:
- Text: Type your annotation
- Font Size: Choose size (8-72)
- Color: Pick a color using the color picker
- Click "Add Text" to apply
- The text appears on the selected page
Example Use Cases:
- Add watermarks
- Fill in form fields
- Add notes or comments
- Sign documents (type your signature)
- Select pages to rotate:
- Hold
Ctrl(orCmdon Mac) - Click on the pages you want to rotate
- Selected pages show a highlight border
- Hold
- Click the "Rotate" button (↻ icon)
- Pages rotate 90° clockwise
- Click again to continue rotating
Quick Tip: You can select multiple pages at once!
- Select unwanted pages:
- Hold
Ctrl/Cmdand click pages
- Hold
- Click the "Delete" button (trash icon)
- Confirm deletion
- Pages are removed from the PDF
Warning: Cannot delete all pages - at least one must remain.
Drag & Drop Method:
- Click and hold on a page thumbnail
- Drag it to the new position
- Drop it in place
- Pages automatically renumber
Use Case: Fix scanned documents that are out of order
Combine multiple PDFs into one:
- Upload multiple PDF files:
- Drag & drop multiple files at once
- Or click "Choose Files" and select multiple PDFs
- A notification shows: "X PDFs loaded"
- Click "Merge PDFs" button
- Wait for processing (progress indicator shows)
- Result: One combined PDF with all pages
Example Workflow:
Document1.pdf (3 pages) + Document2.pdf (2 pages)
= MergedDocument.pdf (5 pages)
Use Cases:
- Combine multiple receipts
- Merge contract documents
- Consolidate reports
Extract specific pages:
- Upload a PDF
- Select pages to extract:
- Hold
Ctrl/Cmdand click pages
- Hold
- Click "Split PDF" button
- A new PDF downloads with just those pages
- Original PDF remains unchanged
Example:
- Have a 10-page document
- Select pages 3, 5, and 7
- Get a new 3-page PDF with just those pages
- Click "Download" button (or press
Ctrl+S) - Browser's save dialog appears
- Choose location and filename
- Click "Save"
File name: edited-document.pdf
- Click "New" button
- Confirm: "Start a new PDF?"
- Canvas clears, ready for new file
- Upload area reappears
💡 Pro Tips:
-
Quick Rotation: Select all pages (
Ctrl+Aconcept doesn't work here, but select multiple with Ctrl+Click) and rotate them all at once -
Text Positioning: Text is added at a default position (top-left). Plan your layout before adding multiple text annotations.
-
Color Coding: Use different colors for different types of annotations (red for corrections, blue for notes, etc.)
-
Before/After: Download the original, then make edits and download again to keep both versions
-
Large PDFs: For PDFs with many pages, processing may take a few seconds. Be patient!
-
Mobile Usage: On tablets/phones, tap and hold to select pages instead of Ctrl+Click
Supported Formats: PNG, JPG, JPEG, WEBP, BMP, GIF
Option 1: Drag & Drop
- Drag an image file from anywhere
- Drop onto the upload area
- Image loads on the canvas
Option 2: File Picker
- Click "Choose Image"
- Select an image file
- Click "Open"
After Upload:
- Image appears on canvas
- Toolbar becomes active
- You can start editing immediately
Method:
- Click "Crop" button (crop icon)
- A semi-transparent rectangle appears on the image
- Resize and position the rectangle:
- Click and drag corners to resize
- Click center to move it
- Click "Crop" button again to apply
- Image is cropped to the rectangle area
Tips:
- Cropping is destructive - use Undo if needed
- Position the rectangle carefully before applying
- Click "Resize" button
- A dialog appears with:
- Width (in pixels)
- Height (in pixels)
- Maintain aspect ratio checkbox (checked by default)
- Enter new dimensions
- If aspect ratio is locked, height adjusts automatically
- Click "Apply"
Example:
- Original: 1920×1080
- Set width to 960
- Height automatically becomes 540 (maintains 16:9 ratio)
Rotate 90°:
- Click "Rotate" button (↻ icon)
- Image rotates 90° clockwise
- Click multiple times to rotate further
Flip Horizontal:
- Click "Flip H" button (⇄ icon)
- Image mirrors left-to-right
Flip Vertical:
- Click "Flip V" button (⇅ icon)
- Image mirrors top-to-bottom
Combine Operations:
- Rotate 90° + Flip H = 90° counter-clockwise
- Rotate 180° = Flip H + Flip V
- Click "Draw" button (pencil icon)
- Drawing panel appears below toolbar:
- Brush Size: Slider (1-50 pixels)
- Color: Color picker
- Draw on the image:
- Click and drag to draw
- Release to finish the line
- Adjust as you draw:
- Change brush size mid-drawing
- Change color for different strokes
- Click "Draw" again to exit drawing mode
Use Cases:
- Highlight important areas
- Circle items
- Free-form annotations
- Artistic effects
- Click "Add Text" button (T icon)
- Text object appears: "Double click to edit"
- Double-click the text to edit it
- Type your text
- Customize:
- Drag to reposition
- Drag corners to resize
- Rotate handle to rotate
- Change font/size/color (select text object, then modify)
- Click elsewhere to finish
Formatting:
- Default: Arial, 30px, black
- To change: Double-click inside text to select all, then type
- Click "Add Shapes" button (square icon)
- Shape options panel appears:
- Rectangle
- Circle
- Line
- Arrow
- Click a shape type
- Shape appears on canvas
- Customize:
- Drag to move
- Drag corners/edges to resize
- Rotate handle to rotate
- Click shape, then use color picker to change color
Shape Properties:
- Default: Transparent fill, black stroke
- Stroke width: 2px
- Fully customizable after placement
Creative Uses:
- Rectangles: Highlight boxes, borders
- Circles: Callouts, emphasis
- Lines: Dividers, underlines
- Arrows: Point to important elements
- Click "Filters" button
- Filter panel opens with controls:
Adjustable Sliders:
- Brightness: -1.0 to +1.0 (darker to brighter)
- Contrast: -1.0 to +1.0 (less to more contrast)
- Saturation: -1.0 to +1.0 (desaturated to oversaturated)
- Blur: 0 to 1.0 (sharp to blurry)
One-Click Effects:
- Grayscale: Convert to black & white
- Sepia: Vintage/old photo effect
- Invert: Negative image effect
- Adjust sliders to preview effects
- Click effect buttons to toggle them
- Click "Apply" to save changes
- Or click "Reset" to clear all filters
Pro Tips:
Photo Enhancement:
Brightness: +0.1
Contrast: +0.2
Saturation: +0.1
Result: Vibrant, punchy image
Vintage Look:
Apply Sepia
Brightness: -0.1
Contrast: +0.1
Result: Old photograph style
High Contrast B&W:
Apply Grayscale
Contrast: +0.3
Result: Dramatic black & white
Undo:
- Click "Undo" button (↶ icon)
- Or press
Ctrl+Z(Windows/Linux) orCmd+Z(Mac) - Reverts last action
Redo:
- Click "Redo" button (↷ icon)
- Or press
Ctrl+YorCtrl+Shift+Z - Restores undone action
History:
- Maintains up to 50 states
- Works across all editing operations
- Includes: drawing, text, shapes, filters, crops, rotations
Important: Undo/Redo is lost when you upload a new image or click "New"
💡 Pro Tips:
-
Non-Destructive Workflow:
- Make a copy of original before editing
- Use Undo liberally - don't be afraid to experiment
-
Layer Your Work:
- Add shapes first (background)
- Then text (middle)
- Finally drawing/annotations (foreground)
-
Color Coordination:
- Use consistent colors for related elements
- High contrast for readability (dark text on light bg)
-
Quick Crop:
- For square crops: Start with resize to square dimensions
- Then crop to final size
-
Text Readability:
- Add semi-transparent rectangle behind text
- Use large font sizes (minimum 24px)
- High contrast colors
-
Save Originals:
- Keep your original image
- Experiment with copies
- Easy to start over if needed
-
Filter Stacking:
- Apply filters one at a time
- Use Undo if you don't like the result
- Combine filters for unique effects
-
Object Selection:
- Click on text/shapes to select them
- Delete key removes selected object
- Drag corners while holding Shift = maintain aspect ratio
Make editing faster with these shortcuts:
| Shortcut | Action |
|---|---|
Ctrl+S / Cmd+S |
Download/Save current work |
Ctrl+T / Cmd+T |
Add text (PDF or Image) |
Esc |
Close any open modal/dialog |
| Shortcut | Action |
|---|---|
Ctrl+Z / Cmd+Z |
Undo last action |
Ctrl+Y / Cmd+Y |
Redo last undone action |
Ctrl+Shift+Z |
Alternative Redo |
| Shortcut | Action |
|---|---|
Ctrl+Click |
Select/deselect multiple pages |
Ctrl+S / Cmd+S |
Download edited PDF |
Solutions:
-
Check browser compatibility
- Use Chrome, Firefox, Safari, or Edge
- Update to latest version
- Internet Explorer is NOT supported
-
Check internet connection
- First load requires internet (for CDN libraries)
- After first load, works offline
-
Clear browser cache
Chrome: Ctrl+Shift+Delete Firefox: Ctrl+Shift+Delete Safari: Cmd+Option+E -
Try incognito/private mode
- Rules out extension conflicts
Solutions:
-
Check file format
- PDF Editor: Only .pdf files
- Image Editor: .png, .jpg, .jpeg, .webp, .bmp, .gif
-
Check file size
- Very large files (>50MB) may be slow
- Break large PDFs into smaller chunks
-
Check file corruption
- Try opening in another app first
- Re-save or re-export the file
Solutions:
-
Reduce file size
- For images: Resize to smaller dimensions first
- For PDFs: Split into smaller documents
-
Close other browser tabs
- Free up memory
-
Restart browser
- Clear memory and caches
-
Use desktop instead of mobile
- Complex edits work better on desktop
Solutions:
-
Check browser permissions
- Allow downloads in browser settings
- Check if download was blocked (icon in address bar)
-
Check disk space
- Ensure enough space for downloaded file
-
Try different browser
- Some browsers have stricter download policies
Solutions:
-
Use HTTPS or localhost
- Service Workers require secure context
- Use local server instead of file:// protocol
-
Clear Service Worker cache
Chrome DevTools > Application > Service Workers > Unregister
Q: Do I need to create an account?
A: No! This app works entirely in your browser without any account or login.
Q: Do my files get uploaded to a server?
A: No! Everything happens locally in your browser. Your files never leave your device.
Q: Does it work offline?
A: Yes! After the first load (which downloads libraries), the app works offline thanks to Service Worker caching.
Q: Is it free?
A: Yes! Completely free and open-source. No subscriptions, no premium features.
Q: Can I use it commercially?
A: Yes! Licensed under MIT License. Use it for personal or commercial projects.
Q: Can I edit PDF forms?
A: You can add text annotations but not interact with form fields directly. Better for adding text overlays.
Q: Can I extract images from PDFs?
A: Not currently. This feature focuses on page manipulation and text annotations.
Q: What's the maximum PDF size?
A: Limited by browser memory. Most modern browsers handle up to 50-100MB. For larger files, split them first.
Q: Can I password-protect PDFs?
A: Not currently. Use external tools for encryption after editing.
Q: Can I merge 10+ PDFs at once?
A: Yes! No hard limit, but performance depends on file sizes and browser memory.
Q: What's the maximum image size?
A: Limited by browser canvas size (~268 megapixels in Chrome). Most images work fine.
Q: Can I edit multiple images at once?
A: No. One image at a time. Download each before starting the next.
Q: Does it preserve EXIF data?
A: No. Downloaded images lose EXIF metadata. Save original if you need metadata.
Q: Can I undo after downloading?
A: No. Download creates a new file. Original editing session remains until you click "New".
Q: What format should I download?
A:
- PNG: Lossless, best quality, larger file size, supports transparency
- JPG: Lossy, smaller file size, no transparency, good for photos
- WEBP: Modern format, smaller than JPG, good quality
Q: What browsers are supported?
A: Chrome, Firefox, Safari, Edge (latest versions). No Internet Explorer.
Q: Does it work on mobile?
A: Yes! Fully responsive. Some operations easier on tablet/desktop.
Q: Can I self-host this?
A: Yes! Download the repository and serve it from any web server.
Q: Is the source code available?
A: Yes! It's open source on GitHub: im0d00/pdf-image-editor
Q: Can I contribute or report bugs?
A: Yes! Submit issues or pull requests on GitHub.
- GitHub Issues: Report bugs or request features
- Source Code: View on GitHub
- README: Back to main documentation
- Security: Security information
Happy Editing! 🎨📄