
Encountering 'File Too Large' errors on NPTEL or Swayam? Learn how to compress your assignments, certificates, and reports locally to under 150KB-500KB with absolute privacy using WebAssembly.
The digitisation of higher education in India has expanded access to learning opportunities. Under the Ministry of Education (MoE), national platforms such as the Study Webs of Active-Learning for Young Aspiring Minds (SWAYAM) and the National Programme on Technology Enhanced Learning (NPTEL) allow students from colleges, universities, and rural areas to access high-quality education from premier Indian Institutes of Technology (IITs) and the Indian Institute of Science (IISc). These platforms provide critical certifications, exam credits, and skill enhancements. However, participating in these online courses requires submitting weekly assignments, laboratory records, research papers, and administrative verification forms. A common challenge for students is the recurring 'File Too Large' error during document uploads.
Whether submitting handwritten mathematical derivations, scanning diagrams for an engineering course, or uploading identity certificates during profile registration, students frequently find their files rejected. NPTEL and SWAYAM portals enforce strict PDF file size limits, often restricting files to between 150KB and 500KB. On the other hand, scanning files with smartphone cameras or consumer-grade flatbed scanners typically generates PDFs between 3MB and 15MB. To bypass these limits, many students turn to online PDF compressors. This can compromise security, as these websites require uploading sensitive documents, exposing personal identifiable information (PII) like names, birthdates, signatures, and registration details to remote servers. MojoDocs offers a secure, client-side alternative that compresses documents locally in the browser sandbox using WebAssembly, ensuring complete privacy.
The Scaling Challenge of Indian National Portals
To understand why these file size restrictions exist, it helps to look at the scale of NPTEL and SWAYAM operations. These platforms manage millions of active enrollments each semester. During exam registration cycles and weekly assignment deadlines, the portals experience massive traffic spikes, with hundreds of thousands of students attempting to submit documents simultaneously.
If the portals allowed unrestricted upload sizes, the backend storage infrastructure would face severe storage inflation. Processing and storing millions of 10MB PDFs would quickly lead to high storage costs, server bottlenecks, database delays, and system crashes. Furthermore, many students in rural and semi-urban India access these platforms over limited mobile data connections. High file sizes would lead to frequent upload timeouts and connection drops. Enforcing strict size limits keeps the application backend fast, responsive, and accessible for everyone. However, this shifts the task of document optimization to the students, who must reduce file sizes without making the contents unreadable.
Understanding NPTEL & SWAYAM PDF Upload Limits
Successfully submitting assignments and registering for courses requires adhering to specific technical guidelines. The table below outlines the file size and format constraints for different document categories on these portals:
| Document Type | Portal Service | Max File Size | Required Format |
|---|---|---|---|
| Weekly Handwritten Assignments | NPTEL Course Portal | 150 KB - 500 KB | PDF Only |
| Category Certificate (SC/ST/OBC/EWS) | Exam Registration / Profile | 150 KB | PDF Only |
| Student ID Card / College Proof | Swayam Profile Verification | 300 KB | PDF Only |
| Scholarship / Fee Waiver Proof | NPTEL Registration | 500 KB | PDF Only |
| Semester Grade Sheets / Degrees | Credit Transfer Request | 500 KB | PDF Only |
| Course Project Reports / Dissertations | Swayam Advanced Courses | 1 MB - 2 MB | PDF Only |
These limits require careful attention. For example, weekly handwritten assignments—which are common in mathematics, electrical engineering, and programming courses—must be under 150KB to 500KB. Students write their answers on physical paper, scan them, and compile them into a PDF. Since these documents contain detailed mathematical formulas, subscripts, and structural diagrams, compressing them below 150KB while keeping the text clear can be difficult.
Similarly, profile documents like Category Certificates are used to determine fee concessions and eligibility. Course evaluators and administrators manually review these uploads. If a certificate stamp, registration number, or official signature is blurred during compression, the submission is rejected. This can lead to missed exam bookings or lost registration fees. Therefore, maintaining document legibility during compression is critical.
The Document Processing Economy: Cost Comparison
When faced with a 'File Too Large' error, students must find a way to compress their files. Let's compare the cost, time, and privacy implications of the available options.
1. The Cyber Cafe / Xerox Shop Route
For many college students, especially in small towns, the standard solution has been visiting a local cyber cafe or Xerox shop. The operator scans the documents and uploads them for a fee. However, this method has notable drawbacks:
- Financial Cost: Scanning and basic compression costs ₹10 to ₹20 per page, which can add up over a semester of weekly assignments.
- Time Loss: Traveling to a physical shop and waiting in line can take hours, which is inconvenient close to assignment deadlines.
- Data Exposure: Shared computers in cyber cafes are rarely secure. Scans of Aadhaar cards, college IDs, and signatures are often left in public folders, where they are vulnerable to unauthorized access.
2. The Quick-Commerce Print and Scan Loop
In urban areas, students sometimes use quick-commerce services like Blinkit print stores, Zepto, or Swiggy Instamart to print assignments or registration forms. They then fill out the forms and scan them using a mobile device. The resulting PDFs are often too large for upload and require further compression before submission.
3. Commercial Desktop Software
Professional desktop suites like Adobe Acrobat Pro offer reliable, high-quality PDF compression tools. However, they require a subscription costing roughly ₹1,500 per month (exceeding ₹18,000 annually). This cost is impractical for students who only need to submit basic academic assignments.
4. Free Online PDF Compressors
A quick web search yields dozens of free PDF compressor websites. These tools are convenient but come with hidden trade-offs:
- Data Privacy: These platforms require you to upload your files to their servers. Even if they promise to delete them shortly after, your sensitive documents—including your address, signature, and roll numbers—are processed on remote machines, exposing you to data harvesting or server breaches.
- Functional Restrictions: Many free tools limit the number of files you can process per day, restrict maximum file sizes, or insert intrusive ads and watermarks onto your documents.
5. MojoDocs Local-First Solution
MojoDocs provides a free client-side PDF compressor. The tool runs locally in your browser using WebAssembly. This means the file never leaves your computer or phone. It has no daily limits, requires no sign-ups, and is completely free of cost.
| Method | Cost | Privacy |
|---|---|---|
| Local Cyber Cafe / Xerox Shop | ₹10 - ₹20 per page + travel cost | Low (Files often left on public machines) |
| Adobe Acrobat Pro Subscription | ~₹1,500/month (₹18,000/year) | High (Processed locally on your device) |
| Online Cloud PDF Compressors | Free (Ad-supported) | Low (Files uploaded to third-party servers) |
| MojoDocs Client-Side Compressor | Free (No Ads, Unlimited) | Absolute (Processed locally via browser WebAssembly) |
The Security Risk of Uploading Student Records to the Cloud
Protecting academic and personal documents is more critical than ever. The Digital Personal Data Protection (DPDP) Act of 2023 sets clear guidelines for safeguarding individual data, emphasizing data minimization and security. However, these regulations only apply to compliant, registered organizations. When you upload a document to a random utility website, you are stepping outside this safety net.
Consider the details contained within these documents:
- Aadhaar Card (UIDAI): Full name, date of birth, biometric-linked unique number, parents' names, and residential address.
- PAN Card (NSDL): Unique tax identifier, signature, and photograph.
- Passport (MEA): Passport number, travel history, place of birth, and personal identity metrics.
- Driving License (Parivahan DL/RC): DL number, blood group, authorization class, and organ donor status.
- Academic Degrees & Grade Sheets: University roll numbers, enrollment details, grades, and controller of examinations signatures.
If these documents are intercepted or exposed during a cloud server breach, they can be used for financial fraud, identity theft, or college admission scams. By keeping all computations local, MojoDocs eliminates these risks. Your documents never touch our servers, providing absolute privacy for your sensitive data.
The Flight Mode Verification
1. Open MojoDocs. 2. Turn off WiFi/Internet. 3. Process the file. 4. It completes instantly without any data leaving your device.
Technical Underpinnings: How Browser-Based PDF Compression Works
How does MojoDocs compress a PDF file without uploading it to a server? The answer lies in modern browser technologies and WebAssembly (WASM).
A PDF is not just a flat image; it is a complex container that stores text streams, font files, vector paths, and raster images in a hierarchical structure. Most PDF file sizes are bloated by three main factors: high-resolution images, full font files embedded within the document, and redundant metadata left behind by editing software or scanner programs.
MojoDocs runs a fully compiled PDF optimization engine directly inside your browser's memory. When you select a file, the browser allocates a sandboxed partition in your RAM. The WebAssembly engine then performs the following tasks:
1. Font Subsetting
PDF documents often embed full font files to ensure they render correctly on different devices. These font files contain thousands of glyphs, including characters for multiple languages, symbols, and mathematical ligatures. MojoDocs scans the document's text streams, identifies only the characters actually used, and creates a custom, lightweight font subset. This reduces the font size footprint from hundreds of kilobytes to a few bytes, without changing how the document looks.
2. Image Downsampling and Compression
Scanned documents are typically stored as raster images inside a PDF container. A document scanned at 300 DPI contains significantly more pixels than necessary for basic screen review. The MojoDocs engine downsamples these images to 150 DPI (the standard for portal submissions) using bilinear or bicubic interpolation algorithms. It then applies optimized compression encoders to shrink the image files by 70% to 90%, while preserving the legibility of handwritten signatures, RTO stamps, and official seals.
3. Metadata Stripping and Structural Cleanup
Scanning software and PDF creators embed metadata in document files, including the scanner model, software versions, author names, creation dates, and edit histories. This metadata is stored in the PDF's cross-reference table (xref). MojoDocs strips out this unnecessary data, cleans up the PDF's internal structure, and reorganizes its objects to minimize overall file size.
Because WebAssembly executes binary code at near-native speeds, a 10MB document can be optimized in less than two seconds. This process is faster than uploading the file to a cloud server, waiting in a queue, and downloading it back, especially on slower mobile connections.
Step-by-Step Guide to Compressing NPTEL & Swayam Documents
Follow these steps to optimize your assignments, certificates, or grade sheets for student portals:
Step 1: Scan Your Physical Document Correctly
Before compressing, you can optimize the file size during the scanning stage. If you are using a flatbed scanner or a mobile app like Adobe Scan or Microsoft Lens:
- Set Resolution to 150 DPI: This is the ideal resolution for official portals. It keeps text legible while keeping the initial file size manageable. Avoid scanning at 300 DPI or 600 DPI unless necessary.
- Choose Grayscale or Black & White: Scanning in color increases file size because it saves three color channels (Red, Green, Blue) per pixel. For black-and-white documents like math assignments or certificates, select grayscale. This can reduce the file size by up to 70% before compression.
- Crop the Borders: Use your scanning app to crop out background tables, floors, or shadows. This removes unnecessary details and helps shrink the final PDF size.
Step 2: Compress Using MojoDocs
- Go to the PDF Compressor tool on MojoDocs.
- Drag and drop your scanned PDF file into the upload box. The file loads instantly since it is processed locally in your RAM.
- Select the compression profile that matches your portal requirement:
- Recommended: Ideal for college IDs, grade sheets, and certificates (targeting under 500KB). It balances aggressive compression with high text legibility.
- Extreme: Best for weekly handwritten assignments (targeting under 150KB - 200KB). This profile applies stronger downsampling to fit within tight limits.
- Click Compress PDF. The engine will process the document in seconds.
- Click Download PDF to save the optimized file.
Pro Tip: If your assignment consists of multiple scanned pages, merge them into a single PDF first using our PDF merger tool, then run the combined file through the compressor. This ensures all pages are uploaded in one go under the portal limit.
How to Verify Legibility Before Uploading
A compressed file that meets the size limit is useless if the verification officer rejects it for being unreadable. To ensure your document is accepted, perform these checks before uploading:
- Check at 100% Zoom: Open the compressed PDF file in your browser or a PDF viewer. Zoom in to 100% and check key details like formulas, exponents, indices, and diagrams. If they look blocky or hard to read, re-compress with a slightly lower compression setting.
- Verify Subscripts and Superscripts: In math, chemistry, and computer science courses, small symbols like superscripts (e.g., x²) or subscripts (e.g., H₂O) carry critical meaning. Ensure they do not blur into single lines.
- Ensure High Contrast: If you scanned a handwritten page using faint blue ink, ensure the text remains legible after compression. If the text has faded, you may need to adjust the contrast on your scanner before running the compression again.
- Verify Mathematical and Code Symbols: For students enrolled in highly technical NPTEL courses — such as Data Structures and Algorithms, Discrete Mathematics, Quantum Mechanics, or Electromagnetics — a blurred subscript, a missing division bar in a fraction, or an illegible superscript can render a handwritten assignment completely useless. Verification officers check the structural steps of your derivations, not just the final box. When reviewing your compressed file, pay close attention to complex symbols like integrals, square roots, summations, and matrix brackets. If you are submitting coding assignments, verify that braces, brackets, and characters like semicolons or operators are perfectly distinct and readable. If the compression has caused pixelation around fine details, re-run the compression using the 'Recommended' profile instead of the 'Extreme' profile to ensure you do not lose marks due to transcription misunderstandings.
- Ensure Proper Page Orientation: A common but easily avoidable reason for NPTEL assignment rejection is submitting pages sideways or upside down. Tutors grading dozens of weekly assignments will not rotate their screens to read your hand-drawn charts or circuit diagrams. Before clicking compile, verify the thumbnail gallery to make sure every sheet is in portrait orientation. If your phone scanner captured a landscape diagram sideways, use the 90-degree rotation tool in the MojoDocs workspace to fix it. This small step ensures a professional, readable document and prevents unnecessary grading delays. If you submit a rotated assignment, NPTEL evaluators may award a zero score due to grading constraints on their portal's standard viewer. This small 10-second check can prevent weeks of grade disputes and stress. Taking that single extra step of rotating orientation before exporting ensures a smooth evaluation process on SWAYAM. Tutors can read it seamlessly, ensuring you get the score you worked hard for.
For students preparing documents for other portals, you can read our guide on resizing and compressing photos for JEE, NEET, and UPSC forms for optimization tips.
Deep Dive: WebAssembly (WASM) vs. Cloud Compute Architectures
To understand the benefits of WebAssembly, it helps to compare it with traditional cloud architectures. Most online tools function as remote API wrappers. When you upload a file, the browser sends it over the internet to a backend server. The server queue processes the file using command-line utilities (like Ghostscript or ImageMagick) before sending the output back to the user.
This server-centric model has several limitations:
- Network Latency: Uploading large documents on slower networks (like mobile connections in rural regions) can take time and often leads to upload timeouts.
- Server Overhead: The cloud provider must maintain servers capable of handling CPU-heavy compression tasks, especially during peak hours. These costs are often passed down to users via subscriptions or recovered through ads.
- Security Risks: Storing user documents, even temporarily, creates a target for data breaches.
WebAssembly addresses these issues by moving the processing to the client side. By compiling optimized C++ and Rust code into WASM binaries, MojoDocs runs these compression engines directly inside your browser. The files are processed using your local CPU and RAM, eliminating network latency and server overhead while keeping your files private.
Eco-Efficiency and Carbon Reduction of Local Web Tools
Beyond privacy and economic benefits, local-first web applications offer environmental advantages. Traditional cloud applications rely on large data centers that consume significant electricity. When you upload a file, it travels through network routers and switches to a remote server, where it is stored on disk and processed by high-performance CPUs. This entire chain—network transport, server compute, active cooling, and storage replication—consumes electrical energy, contributing to carbon emissions.
By moving the computation to the client side, MojoDocs reduces this footprint. The optimization runs entirely on the user's local hardware, which is already powered on and active. This eliminates the need for network transmission of raw files and dedicated server processing, contributing to a lower energy footprint. When multiplied across millions of daily file conversions, this local-first approach presents a more sustainable model for utility web tools.
Managing Multi-Page Scans and Document Packages
Many student portal applications require multiple files to be combined. For example, registering for an NPTEL exam often requires copies of the student ID card, a recent grade sheet, and address proof. Instead of managing several separate PDF files, combining them into a single structured document can simplify the submission process. This approach ensures that verification officers receive all necessary records in a single attachment, reducing the risk of administrative errors or missing pages.
Using MojoDocs, you can merge multiple scanned pages or images into a single PDF container before compressing the final output. The client-side merging tool rearranges pages in the browser memory, creating a clean document package. You can then run this merged file through the compressor to adjust its size below the portal limit, ensuring all components are submitted together.
Summary: Take Control of Your Academic Submissions
Submitting forms on portals like NSDL, UIDAI, Parivahan, and EPFO does not have to be a choice between security risks and paying for desktop software. By using MojoDocs, you keep your documents local, protect your privacy, and meet all government guidelines for free.
Before your next upload, remember to run the Flight Mode Verification. It is a simple test that confirms your data remains yours.

