Government Filename Sanitizer
Government portals silently reject files containing illegal characters like spaces, commas, ampersands (&), or foreign diacritics. Paste your filename below to format it strictly to portal specs.
100% Client-Side Privacy GuaranteeZero Server Uploads
All PDF analysis, form field flattening, and compression happen directly inside your web browser. Your sensitive documents (passports, tax IDs, visa forms) never leave your device.
Government File Naming SanitizerRejection Protection
Government portals (USCIS, IRCC, UKVI) automatically reject files containing spaces, hashes (#), or special characters.
USCIS_Scan_1_copy_passport_2026.pdf
Official Portal Filename Rules
| Portal | Allowed Characters | Forbidden Characters | Max Length |
|---|---|---|---|
| myUSCIS | A-Z, a-z, 0-9, hyphens (-), underscores (_) | Spaces, # & $ % @ + = [ ] { } | 64 chars |
| IRCC ePortal (Canada) | A-Z, a-z, 0-9, underscores (_) | Hyphens (-), spaces, accent letters (é, à) | 50 chars |
| UKVI (Visa4UK) | A-Z, a-z, 0-9, single space, hyphens (-) | Special symbols, quotes (', "), commas | 50 chars |
| IRS DUT | A-Z, a-z, 0-9, hyphens (-), underscores (_) | Period in name (e.g. Doc.v1.pdf) | 60 chars |
Related Guides
More guides to fix government PDF upload errors
Fix USCIS PDF Upload Error
Fix document malformed, file too large, and interactive form rejections on myUSCIS portal.
Fix IRCC PDF Upload Error
Fix IRCC ePortal rejections for Express Entry, GCKey, and Canadian immigration applications.
Why Government Websites Reject PDFs
Technical reasons behind government PDF rejection systems and how to prepare your documents.
Fix Document Malformed PDF Error
Understand why government portals return document malformed and fix it instantly.
How to Flatten a Fillable PDF
Step-by-step guide to converting interactive PDF forms to static documents for government portals.
Compress PDF for Government Portal
Reduce PDF file size to meet USCIS 6 MB, IRCC 4 MB, and UKVI 6 MB limits.