Changing the World Through Coding
Code.org founder Hadi Partovi describes teaching himself to code in wartime Iran and his effort to bring computer science to every student.

Who created Code.org? Hadi and Ali Partovi launched it in 2013. Here is what has changed, from the Hour of Code to CodeAI.
In 2018, Hadi Partovi described the path from Tehran to founding Code.org with twin brother Ali Partovi, and how teachers helped the organization spread. Below the profile, an updated section answers who created Code.org and looks at where the organization and computer science education stand in 2026.
Overcoming war and isolation to change the world

Finding his way to the United States as a young man, Hadi supported himself and his education by coding as a software engineer for hire at the tender age of fifteen years old. After earning a Harvard master’s degree and having a successful career at Microsoft, Hadi founded two startups; he is infamous for quipping, “The first was a huge success and the second a dismal failure.”
Hadi and Ali Partovi founded Code.org together, with Hadi currently the CEO. Code.org has become by far the most successful computer programming and coding curriculum of the past several years. It’s estimated to be in use in 20% of classrooms in the United States, with 25% of all U.S. students having an active account on the website. Of those students, 45% are female, 48% are underrepresented minorities, and 49% are students in free or reduced meal programs.
“Our goal is actually broader than coding even though we’re called Code.org,” Hadi says. “I always tell people that not every kid is going to end up being a coder, and coding isn’t necessarily for every student. But if you think a little broader about computer science which includes coding, data science, cyber security, networking, robotics, these are all parts of computer science; and even though our name is Code.org, we teach computer science broadly.”

“But teachers are pulling this in,” he continued. “Teachers get it. Teachers themselves know that the future is linked with technology. And then, when they see how students react, they’re like, “Oh my God! The students love this.”
Student engagement in the classroom declines over time; studies have shown that student enthusiasm falls by almost 60% by the first year of high school. But with the advent of coding and programming, teachers see much greater involvement and engagement. Students surveyed in districts with active coding and programming curriculum have consistently nominated those classes as their favorite by a wide margin compared to standard subjects. As Hadi notes, “Teachers usually don’t get that engagement from students the way they see with computer science. So, word of mouth from teacher to teacher is the number one driver of our success.”
Hadi also says that another big secret to their success is the fact that the lessons and exercises are fun and engaging in and of themselves. Hadi says, “If you use the Code.org curriculum, you see that you can write code to control R2-D2 and they could play a game where R2-D2 is fighting against storm troopers and you’re controlling the R2-D2.” Code.org has partnered with corporations and game developers. “You can create and use your own version of Minecraft instead of a web browser,” Hadi says.
Code.org has recruited some of the biggest and brightest minds in the computer universe to teach kids and prepare the next generation to continue the tech revolution into the future. “We have video lectures,” Hadi says. “We have (Facebook’s founder) Mark Zuckerberg explaining how repeat loops work, we have the founder of Instagram explaining how image filters work, we have the creators of the Internet explaining how TCP/IP or HTTP works… it just adds a level of legitimacy when the teachers say, ‘Now, we’re going to hear it from the guy who invented it.’ The students are then fully engaged.”
“We’ve gotten Star Wars or Minecraft or the Angry Birds to give us that access ─ there’s literally a lineup of brands that want to be integrated into our curriculum because we’re non-profit. But the important thing is, it makes it relevant for kids,” he says. “They love Code.org.”

“All the biggest trends in computing were invented in this country,” he continued. “Computer science education is something that America is leading the world in. And part of that is the role that Code.org has been playing by creating the most broadly used curriculum in the entire world.”
“This is something that truly unites people and people come together and say, ‘Let’s get it done.’ I’ve never been part of something that has that much unanimous support. It makes it fun to wake up every day,” he concludes. “Nobody is going to argue with me. We’re not going to have a fight with anybody. And whatever we talk about, everybody agrees. And so, Code.org continue to move forward.”
Follow Hadi Partovi on Twitter
This article was originally published in the Huffington Post .
- KRBD – Hour of Code puts students on a path toward programming
- Pratt Tribune – Coding in class
- Hartford Courant – Students Learn the Creative Language of Coding
Who created Code.org? The founders and where the organization stands in 2026
Code.org was created by twin brothers Hadi and Ali Partovi. According to the organization’s own about page, they launched it in 2013 with a video arguing that every student should learn computer science, which went viral, after which thousands of schools asked for help. Partovi tells that story above, including a childhood in Tehran, where Partovi learned to code on a Commodore 64 without any classes. This section covers what has happened since the profile was written.
From the Hour of Code to the Hour of AI
The first big public event was the Hour of Code, held during Computer Science Education Week from December 9 to 15, 2013, according to the Code.org entry on Wikipedia. That entry carries a notice about promotional tone, so readers should treat its framing with some caution. The organization’s about page says the Hour of Code gave millions of students their first chance to write code and helped fuel a global computer science education movement, and that it has since become the Hour of AI. The profile above refers to Star Wars, Minecraft and Angry Birds tutorials, which were early examples of how popular themes drew students in.
A new name and a wider mission
The about page headline reads “Code.org becomes CodeAI,” and states the mission that every student in every school has the opportunity to learn about AI and computer science as part of a core K-12 education. The Wikipedia entry dates the rebrand to June 2, 2026. The about page gives its reason as a gap between use and understanding, citing figures that 84 percent of students use AI while only 16 percent of high school leaders say all their students learn about it in school. Those figures come from the organization’s own page, which does not name the underlying study, so readers should treat them as the organization’s claim until they see the source.
The page also states the organization’s reach as more than 150 million students and more than 3 million teachers, with students in 190 countries. The profile above quoted estimates from 2017, including that 25 percent of U.S. students had an account on the website, and those older figures should be read as a snapshot of that year. The profile above describes Hadi Partovi as chief executive, which was true in 2018. The organization’s own leadership page, read on October 21, 2026 and showing a 2026 copyright date, lists Karim Meghji as President and CEO and Hadi Partovi as Founder and Chairman of the Board. The page gives no date for the change of role.
How much computer science do schools offer?
The organization publishes an annual State of AI and Computer Science Education report. The 2025 edition, with data finalized on December 1, 2025, tracks access, participation and state policy, and adds a state-by-state analysis of AI education policies in four areas: standards, guidance for schools, professional development funding and graduation requirements. The page does not display national percentages in text, so this article does not quote them. A reader who wants current numbers for a state can use the interactive data on the organization’s advocacy site.
What this means for a school
Partovi says above that teachers pulled the curriculum into schools because students enjoyed it, and that the goal was computer science more broadly than coding. That message is useful for school leaders in 2026, who are being asked to decide what students should learn about AI. A school can start with questions it can answer locally. Which grades offer any computer science? Do teachers have training and time to teach it? Do all students, not only those already interested, have a way into the courses? Is there a plan for how the school will handle student use of AI tools in these classes? For related reading on technology in classrooms, see the edCircuit STEM education guide and the AI in education guide.
Quick answers
- Who founded Code.org? Twin brothers Hadi and Ali Partovi, in 2013.
- Who made Code.org’s Hour of Code? The organization launched it in December 2013, during Computer Science Education Week.
- What is it called now? The organization’s site now uses the name CodeAI.
Related reading
More on STEM and STEAM Education



