
Weekend Annoying Task Challenge: PDF Toolkit Pro
Five PDF tools in one place. Automates text extraction (Bedrock Nova), image conversion, compression, ID merging, and passport cropping - all local.
Vision & What the App Does
Every week, I deal with PDFs. Receipts to convert. Files too big for email. Scanned documents I need to extract text from. ID cards to merge for multiple applications.
Each task means hunting for a different online tool, uploading, waiting, downloading, and repeating. Five different sites for five different tasks. And every time, that nagging thought: "Where is my data actually going?"
Last month it hit me when I uploaded my ID card to a random PDF merger. Both sides. My full name, photo, ID number, address, like everything. Then I noticed the fine print: "Files are stored for 24 hours for your convenience."
That was it. I was done juggling sketchy PDF sites.
That's the annoying task this app solves: the weekly grind of hunting for PDF tools, uploading sensitive files to random sites, and doing the same repetitive conversions over and over.
PDF Toolkit Pro is a browser-based document suite that handles five common PDF tasks and all without uploading your files to any server:
Tool | What It Does | The Annoying Problem It Solves |
|---|---|---|
AI PDF Extractor | Automates text extraction from scanned PDFs using Amazon Bedrock Nova | Manually retyping content from scanned documents or going page-by-page through OCR tools, copying, pasting, fixing formatting |
Image to PDF | Converts multiple images into one PDF | Receipts and screenshots scattered everywhere, need them in one file |
PDF Compressor | Shrinks PDF file size by up to 80% | Your file exceeds the 5MB email limit - every time |
ID Card Merger | Combines front/back ID images into one page | Visa applications demanding single-page ID copies |
Passport Photo | Crops photos to exact passport dimensions | Wrong size photos rejected at the visa office |
The key difference: Your files never leave your computer. All processing and automation happens in your browser using JavaScript. The only exception is AI extraction, and even there - you use YOUR AWS credentials to call YOUR Bedrock account. I never see your documents.

How You Built It
The Challenge
Building PDF tools that run entirely in the browser sounds impossible. How do you render PDFs? How do you create new ones? How do you compress them without a server?
Turns out, modern browsers can do all of this.
Part 1: The Four Free Tools
Image to PDF Converter
I used jsPDF , a JavaScript library that creates PDFs right in the browser. When you drop images in, FileReader loads them, I draw each to a canvas, and add them as pages.
One tricky problem: file ordering. People name files
1.jpg , 2.jpg , 10.jpg . Alphabetical sorting gives you 1, 10, 2. I fixed this by extracting leading numbers and sorting numerically.PDF Compressor
This seemed impossible at first. The trick: render each PDF page as a JPEG image at lower quality, then rebuild the PDF from those images.
I used PDF.js (Mozilla's library) to render pages to canvas, adjusted JPEG compression based on the quality slider, and rebuilt with jsPDF. Users can reduce files by up to 80%.
ID Card Merger
Two upload zones. Calculate how both images fit on one A4 page. Draw to canvas. Add optional watermark (useful for marking copies "FOR VISA APPLICATION ONLY"). Export as PDF.
Passport Photo Cropper
Different countries need different photo sizes. I built presets for International (35x45mm), US (2x2 inch), and Schengen (33x48mm). The crop box maintains exact aspect ratio while users drag to position. Output is always 300 DPI for print quality.
Part 2: Adding AI with Amazon Bedrock
Here's where AWS comes in.
Traditional OCR fails on handwritten notes, complex forms, and low-quality scans. Amazon Bedrock's Nova models are really good; they don't just read characters; they understand document structure using vision capabilities.
The Technical Challenge
AWS APIs require signed requests. I implemented AWS Signature Version 4 authentication in pure JavaScript using the Web Crypto API. This means user credentials never touch any server - they sign the request locally, and the browser calls Bedrock directly.
How the AI Extraction Automates the Process
- User clicks "AI PDF Extractor" and enters their AWS credentials
- User uploads a PDF file
- User clicks "Extract with AI" button - this triggers the automation job for extraction
- For each page, JavaScript renders it to canvas using PDF.js
- Canvas converts to base64 JPEG
- Browser sends a direct HTTPS request to Amazon Bedrock API (signed with user's credentials)
- Bedrock's Nova model analyzes the image and returns extracted text
- Results display in the browser - user can copy or download
The entire flow happens client-to-AWS. My server never sees the documents or credentials.
Challenges I Faced
Challenge 1: AWS Authentication in Browser
Most AWS examples use server-side SDKs. I had to implement SigV4 signing from scratch using Web Crypto API. Took a few hours of reading AWS documentation, but it works perfectly.
Challenge 2: Memory Management
Large PDFs can crash the browser. I process pages one at a time (not in parallel) and reuse a single hidden canvas to keep memory usage low.
Challenge 3: Cross-Origin Requests
Browsers block requests to different domains by default. Bedrock's CORS settings allow direct browser calls, but I had to structure requests carefully to avoid preflight issues.
AWS Services Used / Architecture Overview
Services Used
AWS Service | What I Used It For | Free Tier? |
|---|---|---|
AWS Amplify | Hosting the static website | Yes - 5GB storage, 15GB transfer/month |
Amazon Bedrock | AI-powered text extraction from images | Yes - included in new account credits |
Nova Pro Model | Primary model for document understanding | Pay-per-use via user's account |
Nova Lite Model | Faster/cheaper option for simple docs | Pay-per-use via user's account |
Architecture Diagram

Key Architecture Points:
- 4 out of 5 tools need zero cloud - everything runs in JavaScript
- AI extraction uses direct browser-to-Bedrock calls (no middleware)
- User credentials never touch my infrastructure
- Static hosting on Amplify keeps costs at $0 under free tier
What You Learned
1. Browsers Are More Powerful Than I Thought
PDF rendering, image manipulation, cryptographic signing - I assumed these needed a server. They don't. Modern browsers have APIs for everything. This changes how I think about building web apps.
2. AWS Free Tier Is Generous
Amplify's free tier (5GB storage, 15GB transfer) easily covers a static site like this. Bedrock costs are pay-per-use, and for a personal tool, it's pennies. I spent maybe $0.50 testing the AI extraction repeatedly.
3. Privacy Can Be a Feature
When I showed this to friends, nobody mentioned the design or the AI. Everyone said: "Wait, my files don't get uploaded?"
People care about privacy more than we assume. They've just accepted that online tools take their data because there's no alternative. Build the alternative, and people notice.
4. BYOK (Bring Your Own Keys) Builds Trust
I worried that asking users to enter AWS credentials would feel sketchy. Opposite happened. When people understand that using their own keys means their data stays under their control, they actually trust the app MORE than if I handled everything behind the scenes.
5. Simple Beats Fancy
My first version had smooth animations and clever UI patterns. Users were confused. The current version has big buttons, obvious labels, and clear steps. Boring, but it works.
Link to App
The app is fully functional right now. Try any of the free tools immediately - no signup needed.
For AI extraction, you'll need AWS credentials with Bedrock access. The app includes instructions, or see the Quick Start below.
Quick Start for AI Extraction
- Get AWS Credentials:
- Log in to AWS Console → IAM → Users → Your User → Security Credentials
- Create Access Key → Copy both keys
- Enable Bedrock Models:
- Go to Amazon Bedrock in AWS Console
- Click "Model access" → Request access to Nova models
- Approval is usually instant
- Use in the App:
- Open the AI PDF Extractor tool
- Paste your Access Key ID and Secret Access Key
- Select region (US East recommended)
- Upload a PDF and click "Extract with AI"
Final Thoughts
I built PDF Toolkit Pro because I was tired of the weekly PDF grind - five tasks, five different sites, same repetitive uploads. Automation doesn't always mean scheduled jobs or background tasks. Sometimes it's about collapsing 20 manual steps into one click.
This app proves you don't have to choose. You can have powerful document extractions and processing tools AND keep your files private.
Five tools. Zero uploads (for most features). Your documents stay yours.
That's it. I hope it saves you from the same stomach-drop moment I had.
Built with AWS Amplify and Amazon Bedrock Nova for the Weekend Challenge.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article