Khoj PDF upload failing or indexing returning a 422 error?
Compress your PDF instantly using the tool below โ fixes the 10MB per-file limit and frees up indexed storage.
๐ Files never leave your deviceโก Instant processing in browser๐ธ 100% free โ no signup
๐
Drop your PDF here to fix upload errors
or click to select file โ PDF only
Target size (optional)
or leave blank to compress as much as possible
โก File Size Limits (Quick Fix)
โขKhoj limits PDF uploads to 10MB per file for document conversion and indexing.
โขKhoj free tier allows up to 50MB of total indexed content.
โขKhoj Premium tier allows up to 500MB of total indexed content.
โขA 422 Unprocessable Entity error from Khoj with 'size larger than 10MB limit' confirms the file exceeds the per-file size limit.
๐ Fix: Compress your file below the required limit using the tool above.
About this tool
Khoj upload failures have two common causes: the 10MB per-file limit for document conversion, or the free tier's 50MB total indexed content cap being reached. A 422 error with 'size larger than 10MB limit' confirms the per-file issue. Compressing the PDF resolves both by reducing file size and indexed storage usage.
How to use this tool
Select or drag and drop your file into the tool above.
Adjust the settings or target size as needed for your specific requirement.
Wait a moment while your file is processed directly in your browser.
Download the final file safely to your device.
๐ก Good to know
โKhoj limits PDF uploads to 10MB per file for document conversion and indexing.Khoj Docs โ
โKhoj free tier allows up to 50MB of total indexed content.Khoj Docs โ
โKhoj Premium tier allows up to 500MB of total indexed content.Khoj Docs โ
โA 422 Unprocessable Entity error from Khoj with 'size larger than 10MB limit' confirms the file exceeds the per-file size limit.Khoj Docs โ
โWords over 500 characters are automatically removed during Khoj processing โ this typically only affects corrupted or malformed files.Khoj Docs โ
Two common causes: (1) file exceeds the 10MB per-file limit โ a 422 error confirms this; (2) free tier 50MB total indexed content cap reached. Compress the PDF to resolve both.Source: Khoj Docs โ
What does a 422 error mean in Khoj?+
A 422 Unprocessable Entity error with 'size larger than 10MB limit' means your file exceeds Khoj's 10MB per-file limit. Compress the PDF below 10MB and retry.Source: Khoj Docs โ
How do I fix a Khoj indexing error?+
Compress your PDF below 10MB using the tool above. If your free tier 50MB storage is full, delete older indexed files via the API or upgrade to Premium (500MB).Source: Khoj Docs โ
How do I check my Khoj index size?+
Call GET /api/content/size with your API token. The response shows your current indexed_data_size_in_mb so you can monitor usage against the 50MB free or 500MB Premium limit.Source: Khoj Docs โ
What is the best way to handle large PDFs in Khoj?+
Compress the PDF below 10MB, or split it into chapters and upload each part separately. Use PATCH instead of PUT when updating existing files to avoid reindexing everything.Source: Khoj Docs โ
๐ Files stay on deviceยท๐ Free foreverยท๐ต No signup required