Scott Krulcik, 22, pictured over Google's office in Chelsea, Manhattan

A “vibrant” Google software engineer was found dead inside the tech giant’s Chelsea headquarters, according to cops and sources.

A janitor found 22-year-old Scott Krulcik unconscious at his work terminal on the sixth floor of the building on Eighth Avenue near West 16th Street around 9 p.m. Friday, police sources said.

EMS workers tried to perform CPR, but to no avail. Krulcik was pronounced dead at the scene. His body did not show any signs of trauma, and there did not appear to be criminality involved, authorities said. The city Medical Examiner’s office will determine the cause of death.

Krulcik, a Saratoga Springs, NY, native who lived in the West Village, did not have a history of medical conditions or substance abuse problems, police sources said.

Neighbors at his West 11th Street walk-up were stunned to hear of his death.

“Oh my gosh. That’s so sad. I ran into him from time to time in the hallway,” said one resident who said he moved into the building last fall. “He looked just like he did in his photos. Such a nice young, vibrant man.”

He lived on the fifth floor with a roommate, who was also a Google engineer and, like Krulcik, a graduate of Carnegie Mellon University in Pittsburgh, Pa.

“They were like two peas in a pod,” another neighbor said.

Krulcik joined Google as a software engineering intern in May 2016, while he was still enrolled in classes at Carnegie Mellon, according to his personal website.

He interned at the company again the following summer, and graduated in May with a degree in computer science.

Social media profiles for the Saratoga Springs native show he was outspoken and intellectually curious about a broad range of topics from the intersection of tech and public policy to local issues — such as broken tree branches.

“This is the first time I’ve seen snow come before the trees lost their leaves – branches were breaking all over the street!” he marveled during the November freak snowfall.

And he was close with his family too, his tweets show.

“2018 was my weirdest year on @spotify yet!! Can’t wait for what I find in 2019 :D,” he wrote, with a photo of his top-streamed songs of the year, including John Denver’s “Rainbows.”

“I blame John Denver on my mom – she played him every day while borrowing my google home for a couple months,” Krulcik wrote on Thursday.

Additional reporting by Amanda Woods