It was
bloody obvious to anyone who didn't choose to actively look away.
Witold Pilecki, quite possibly the bravest man I ever read about, went under cover to Auschwitz in 1940.
His Polish resistance network - ZOW - first started forwarding reports into the holocaust at Auschwitz Birchenau to the Polish government in London in March 1941. He was the main source of information on the holocaust in the early war, which was shared with all allies.
His landmark report produced after escaping from several years under cover in Auschwitz as an inmate was produced in 1943[1]. He'd also organised a resistance network within the camp, and regularly smuggled information out to ZOW during his time there.
Earlier? It was well known what Germany was doing well before the war (no apology for copy pasting a few snippets direct from Wikipedia):
Germany passed the sterilisation and euthanasia laws in 1933, with Action T4[2]
California eugenics leader returned to the US from Germany in 1934, talking of the fine program that existed in Germany, when Germany was forcibly sterilising 5,000 a month.[3]
Eugenics researcher Harry H. Laughlin often bragged that his Model Eugenic Sterilization laws had been implemented in the 1935 Nuremberg racial hygiene laws[3]
The forced sterilization program engineered by the Nazis was partly inspired by California's.[4]
The Rockefeller Institute funded Mengele before he went to Auschwitz.
Not forgetting the many refuges that found their way to British, American, Canadian and other shores in the years leading up to 1939. Many of whom would have been able to report exactly what was going on before war broke out.
[1] https://en.wikipedia.org/wiki/Witold's_Report
[2] https://en.wikipedia.org/wiki/Aktion_T4
[3] https://en.wikipedia.org/wiki/Nazi_eugenics
[4] https://books.google.com/books?id=1lvbUy441m0C&pg=PA18