Can you smile in a passport photo? It depends on the country
The United States allows a natural smile. The UK, Canada, New Zealand and Germany want your mouth closed. Here is what each authority actually writes, why the rules disagree, and which parts of a photo a tool can check for you.

The honest answer is that it depends on which country is issuing the document, and the rules genuinely contradict each other. A photo that is perfectly acceptable for a United States passport can be refused for a British one, taken on the same day, with the same face. That is why the question keeps coming back on forums with confident answers pointing in both directions: everyone is right about their own country.
The United States allows a natural smile
The State Department's instruction is to use a neutral facial expression or a natural smile. That word "natural" is doing the work. A closed-mouth smile that does not change the shape of your eyes or push your cheeks up is fine. A broad grin that narrows your eyes is not, because the eyes are the part the matching software cares about most.
Two other US rules catch people more often than the expression does. The photo must have been taken in the last 6 months, and glasses have to come off entirely — not pushed up onto your head, off. If you cannot remove them for a medical reason, the application needs a signed note from your doctor.
The UK, Canada and New Zealand want your mouth closed
GOV.UK is blunt about it: the photo must "have a plain expression and your mouth closed". There is no natural-smile allowance. The UK also wants a much fresher photo than the US does — "taken in the last month", not six.
Canada asks for a neutral facial expression with the mouth closed and the eyes looking straight at the camera, with photos taken no more than 6 months before the application is submitted. New Zealand is the same on expression, and adds a rule worth repeating: your appearance must not be digitally altered in any way, and no filters or editing software. New Zealand does allow prescription glasses, as long as they are not tinted or thick-framed — which is a straight contradiction of the US rule, on the same page of the same subject.
Germany and most of the Schengen area: neutral, mouth closed
The German rules are the most precisely written of the lot. The Federal Ministry of the Interior publishes a Fotomustertafel — a chart of acceptable and unacceptable photos — and its expression line reads: "Der Gesichtsausdruck ist neutral. Der Blick ist geradeaus in die Kamera gerichtet und der Mund geschlossen." Neutral expression, looking straight at the camera, mouth closed.
The same chart shows the failures as pictures, and two of them are expression: "Lachen, Mund offen" (laughing, mouth open) and "Grimasse". Exceptions exist only for long-term or permanent medical reasons — the chart names facial paralysis and asymmetry, and cases where a closed resting mouth is not possible.
Why the rules diverge at all
Every one of these countries is building a document that gets read by a machine at a border. The International Civil Aviation Organization recommends a neutral expression precisely because facial recognition compares distances between fixed points, and a smile moves several of them at once: the mouth corners, the cheeks, and the eye openings. Countries that permit a natural smile have decided their matching tolerance can absorb a small one. Countries that do not have decided it cannot. Neither position is wrong; they are different risk settings on the same problem.
Smiling with teeth, and photos of children
"With teeth" is a separate question in every jurisdiction, and the answer is the same everywhere including the US: no. An open mouth changes the jaw position and the chin-to-crown measurement the crop is built around. Even where a smile is allowed, it is a closed one.
Children are the real exception. Germany allows additional exceptions in head position, facial expression and eye visibility up to the completed 6th year of life, with a front-facing shot still required. Canada allows a range of expressions for newborns. If you are photographing a baby, the expression is the part you are least likely to be judged on — the background and the crop are what usually fail.
What a checker can and cannot tell you
Our passport photo checker does not judge your expression, and says so on the page. It measures things that are measurable from pixels: dimensions, aspect ratio, file weight against the portal's limits, whether the image is colour rather than greyscale, how even the background is, sharpness, and an estimate of head size from the silhouette. Expression, eye contact and whether your glasses are catching a reflection are human judgements, and a tool that claimed to score them would be inventing a number.
That split is worth using deliberately. Get the expression right yourself against the rule for your country, then use a tool to settle the parts that are arithmetic — the 35 × 45 mm crop for the UK and Schengen, the 2 × 2 inch square for the US, 50 × 70 mm for Canada, or the US visa preset with its own pixel and file-size window. Nothing you upload leaves your browser, and no tool here will retouch your face — every authority above forbids it, and several say so in writing.
One last thing: no tool, ours included, can promise a photo will be accepted. The final call belongs to the person at the counter or the system at the portal. What you can do is remove every reason for refusal that is checkable in advance.