ANEF: why your PDF is rejected (and how to fix it fast)
When the ANEF says no
You spent two hours collecting your supporting documents. You upload your file to the ANEF (Administration NumΓ©rique pour les Γtrangers en France β the digital portal for foreign nationals in France), you click "submit"β¦ and the e-service rejects your PDF. No clear explanation. Just a red cross and a generic message: "the file could not be processed."
Meanwhile, your prefecture appointment is approaching. You re-scan. You re-upload. Same result.
The problem is almost never your document. It's the technical constraints of the ANEF, which are strict but rarely spelled out. Here are the six rejection causes that 95 % of residence permit, naturalization and renewal applicants run into β and how to fix them.
ANEF constraints at a glance
Before getting into the six causes, here's what the ANEF accepts (and doesn't):
| Criterion | ANEF constraint | |---|---| | Format | PDF only (sometimes JPG/PNG depending on the document) | | Maximum size | 2 MB per file in general, 10 MB for some documents | | Protection | No password, no encryption | | Readability | Legible text, no page rotated 90Β° or upside-down | | Uniqueness | One PDF = one complete document (not several separate files) | | Signature | Some documents must be signed (declarations, sworn statements) |
The six errors below match these six constraints.
Cause #1 β Your PDF exceeds 2 MB
This is the most common cause. A single smartphone photo can weigh 8 to 15 MB once converted to PDF. And if you scanned your payslips at 600 dpi, expect 25-50 MB for twelve months.
The ANEF rejects any file above 2 MB (10 MB for a few documents only, like translated diplomas). The fix: compress without losing readability.
Procedure (2 minutes):
- Go to the PDF compression tool
- Drop your file
- Choose "medium" β it preserves text readability while reducing size by 60-80 %
- Download the compressed PDF
- Check its size before re-uploading to the ANEF
If you drop below 2 MB, you're set. If even after "high" compression your file still exceeds the limit, it probably contains unnecessary pages β jump to cause #4 or #5.
Cause #2 β Your PDF is password-protected
Many electronic payslips (Silae, Lucca, PayFit, Sage, etc.) arrive encrypted β often with your social security number as the password. Same for some online bank statements.
The ANEF can't open these files, so it rejects them without a clear message. The natural reflex β "I'll just re-download it" β changes nothing: the PDF is generated encrypted at the source.
Procedure (1 minute):
- Have the opening password ready (often sent in a separate email, or printed on the paper voucher)
- Go to the PDF unlock tool
- Drop the file, enter the password
- Download the unprotected version
β οΈ Legal note: only unlock PDFs you own or are authorized to unlock. The tool only works if you know the password β it doesn't break encryption.
Cause #3 β The format isn't PDF (HEIC, PNG, JPG, DOCXβ¦)
You photographed your proof of residence on your iPhone. The phone saved it as HEIC (Apple's format), or as JPG. The ANEF requires PDF.
Same if you typed your motivation letter in Word and submitted the .docx directly: systematic rejection.
Procedure (2 minutes):
- Go to the images-to-PDF tool
- Drop your HEIC, JPG, JPEG or PNG (or several at once to combine them)
- Reorder the pages if you uploaded several in the wrong sequence
- Click "Convert to PDF"
For a Word file, export it as PDF directly from Word (File β Save As β PDF) or via Google Docs (File β Download β PDF Document).
Cause #4 β You uploaded multiple files instead of one
When the ANEF asks for "your last 12 payslips", it expects one PDF of 12 pages, not 12 separate files. Same for a multilingual birth certificate, or a multi-page employer statement.
If you upload several files into a single field, the e-service keeps only one β usually the last β and rejects the rest.
Procedure (3 minutes):
- Go to the PDF merge tool
- Drop all your PDFs (up to 10 files)
- Reorder if needed (the most recent month last, for example)
- Click "Merge and download"
You get a single PDF that passes the ANEF validation. If the result exceeds 2 MB, go back to cause #1 (compression).
Cause #5 β Pages out of order or rotated wrong way
You scanned your passport front and back, but the back ended up before the front. Or your birth certificate is rotated 90Β° because the scanner took it landscape.
The ANEF won't accept it, and neither will the agent reviewing your file: an unreadable document is treated as missing.
Procedure (2 minutes):
- To reorder pages: the PDF reorganization tool lets you drag and drop pages into the right order, and even delete useless pages (an empty passport cover, for example).
- To rotate one or more pages: the PDF rotation tool corrects a 90Β° or 180Β° page without touching the others.
Tip: before re-uploading, open your PDF and verify that every page is in the right direction, in the right order, and fully legible.
Cause #6 β The document needs to be signed and isn't
Some ANEF pieces require a handwritten signature: declaration of community life for a spouse-of-French-national permit, accommodation certificate, some motivation letters for naturalization.
Print, sign by pen, scan, re-upload: that's 20 minutes wasted. You can sign electronically while keeping the original PDF.
Procedure (1 minute):
- Go to the PDF signature tool
- Drop your document
- Draw your signature with the mouse (or type your name in a handwriting font)
- Position it on the page where requested
- Download the signed PDF
The ANEF accepts signatures embedded in the PDF this way. Qualified electronic signature (eIDAS) is only required for a few very specific notarial acts β not for standard declarations.
Once your file is accepted: time for the civic exam
If you're on this page, you're probably preparing a multi-year residence permit, a resident card, or a naturalization application. Since the decree of October 10, 2025, the civic exam is now mandatory for all these procedures β and its certificate must be attached to the ANEF file, under the conditions set by the text.
This is the step that catches most applicants by surprise: 40 questions on republican principles, institutions, rights and social life, in 45 minutes flat. You need 80 % success, meaning 32 correct answers out of 40.
To prepare without cramming the official ministry PDF for weeks, you can prepare for the civic exam with Cocorico, a platform built around the official questions, with two-minute lessons and an adaptive review system. To understand exactly what the prefecture expects, also read their analysis of what the October 10, 2025 decree actually says and their guide on the civic exam certificate (validity, price, procedures).
Once the exam is passed, you receive your certificate as a PDF β which you'll need to merge with the rest of your ANEF file again, compress if necessary, and you're done.
FAQ
What is the maximum PDF size on the ANEF? 2 MB for most pieces, 10 MB for a few specific documents (translated diplomas, some foreign civil status acts). When in doubt, aim for 2 MB: it's the e-service's default limit.
My PDF is under 2 MB and the ANEF still rejects it, why?
Three possible causes: it's password-protected (cause #2), it has pages in the wrong direction (cause #5), or it's not a real PDF but an image renamed .pdf (cause #3). The file extension isn't enough: convert it properly with the image-to-PDF tool.
Can I send several PDFs in a single ANEF field? No. The e-service accepts only one file per field. If the piece requires several documents (e.g., 12 payslips), merge them into a single PDF before upload.
Does the ANEF accept electronic signatures? Yes for sworn statements, attestations and standard letters. No for notarial acts or foreign civil status documents, which must be originals or certified copies.
My payslips are password-protected, can I send them as is? No, the ANEF rejects all encrypted PDFs. You must first unlock them with the password your employer provided. They're your own documents: it's legal and compliant.
My PDF is still heavy even after "high" compression, what do I do? Check if it contains unnecessary pages (empty passport cover, blank last page). Use the reorganization tool to delete them, then recompress. If the problem persists, you scanned at 600 dpi: rescan at 200-300 dpi, more than enough for the administration.
How long before the ANEF processes my submission? The acknowledgement of receipt is instant (check your personal space). Processing the file takes 2 to 6 months depending on the prefecture, from the date of completeness. That's exactly the time you need to prepare for the civic exam with Cocorico β the platform offers 1-, 3- or 6-month plans.
What if my original document isn't in French? Have it translated by a sworn translator (the list is on each Court of Appeal's website). The final PDF must contain the original AND the translation, merged into a single file β exactly the use case for the merge tool.
In summary
Six causes, six tools, one ANEF file that goes through:
| Error | Cause | Tool | |---|---|---| | File too heavy | > 2 MB | Compress PDF | | Protected file | Password | Unlock PDF | | Wrong format | HEIC/JPG/PNG/DOCX | Images to PDF | | Multiple files | Plurality forbidden | Merge PDF | | Pages disordered | Order/rotation | Reorganize / Rotate | | Document unsigned | Signature required | Sign PDF |
All these tools run directly in your browser, no signup required: your administrative documents never leave your device. That's the bare minimum when handling a birth certificate, a tax notice, or a passport.
Good luck with your application β and if you're preparing the civic exam in parallel to finalize your naturalization file, remember that seriously preparing for the assimilation interview at the prefecture makes all the difference on the day.