The short answer
There is no official answer to the worst job in WWII. The jobs most often named are bomber crews and submarine crews, with bomb disposal, front-line infantry, merchant seamen and prisoners of war close behind. The right answer depends on whether you mean the risk of death, the risk of injury, the conditions or the mental toll on the people doing the work.
Bomber crews
Aircrew in RAF Bomber Command flew night raids over Germany and occupied Europe. They faced flak, night fighters, cold and fatigue, and losses were heavy. Roughly half of the aircrew who served with the command were killed, a figure often cited in histories of the war.
Submarine crews
German U-boat crews faced some of the highest losses of any service. Roughly seven in ten of those who served did not survive the war. Allied submarine crews also faced serious risks. Submarine work was crowded, dangerous and often long.
Bomb disposal
Teams defused unexploded bombs in British cities and elsewhere, often under pressure and with limited equipment. Many were killed or injured. The work demanded calm, precision and quick decisions, and it protected civilians as well as the military.
Front-line infantry
Infantry in the front lines faced constant exposure to fire, weather, disease and fatigue. In most armies, infantry made up a large share of combat casualties, although the exact figures vary by country and campaign.
Merchant seamen and prisoners of war
Merchant seamen who sailed Atlantic convoys faced submarine attack and bad weather. Prisoners of war held by Japan, including those forced to build the Burma Railway, faced very high death rates from disease, overwork and cruelty. Their experience is often described as among the worst of the war.
How to judge “worst”
It helps to be clear about what you are measuring. The risk of death points most strongly to bomber and submarine service. Long-term injury and the strain of combat weigh more heavily on infantry and bomb disposal. Captivity may have been the worst set of conditions. A single ranking hides these differences.
Common questions
Which job was the deadliest? Bomber and submarine service are the usual answers, because their losses were among the highest for those who served.
Did civilians have dangerous jobs too? Yes. Civilians faced air raids, shortages and, in occupied countries, serious danger. The question is usually asked about military and service jobs, though.