Code.org is a non-profit organization and eponymous website led by Hadi Partovi that aims to encourage people, particularly school students in the United States, to learn computer science. The website includes free coding lessons and the initiative also targets schools in an attempt to encourage them to include more computer science classes in the curriculum. On December 9, 2013, they launched the Hour of Code 2013 nationwide to promote computer science during Computer Science Education Week until December 15, 2013.
Code.org was launched in January 2013 by Hadi and Ali Partovi, as a non-profit focused on making computer programming more accessible. Their initial focus was on creating a database of all computer science classrooms in the United States. At the time, Hadi Partovi stated that about ninety percent of US schools do not teach programming, despite it now being a “foundational field”. The idea for the organization came from Hadi, who states that he thought of it on the day of Steve Jobs’ death in 2011 while mulling over his own potential legacy. After this, Hadi worked full-time to bring the organization to fruition.
In late February 2013, a month after launch, they released a video featuring Mark Zuckerberg, Bill Gates, Jack Dorsey, and other programmers and entrepreneurs on the importance of learning to code. Two weeks after the launch, TechCrunch reported that the video had gone viral and received a lot of positive attention. Partovi raised about $10 million for Code.org from various tech companies and tech company founders. In 2014, Code.org posted a one-hour tutorial to build and customize a Flappy Bird video game using the site's block visual programming language. Code.org has also created coding programs revolving around characters from the Disney film Frozen, in addition to Angry Birds, and Plants vs. Zombies. In December 2014, Code.org held a successful Indiegogocrowdfunding campaign that raised over $5 million to help educate school children. Overall, about 100 million students have been reached by Code.org efforts. On November 16, 2015, Microsoft announced a partnership with Code.org to launch Minecraft as a tutorial to teach kids how to code.
In February 2016, Code.org won the award for "Biggest Social Impact" at the Annual Crunchies Awards. By September 2016, Code.org founder Hadi Partovi was recognized as a Top 30 Education Leader by the Center for Digital Education. In December 2016, Code.org was recognized by the NASDAQ market by opening the stock market.
During Computer Science Education Week  from December 9 to December 15, 2013, Code.org launched the "Hour of Code Challenge" on its website to teach computer science to school students, enticing them to complete short programming tutorials. The Hour of Code involved getting people to write short snippets of code to achieve pre-specified goals using Blockly, a visual programming language of a similar flavor as Logo. The initiative had been announced about two months in advance and at the time of launch, the initiative was supported by former United States President Barack Obama as well as executives from technology companies such as Microsoft and Apple Inc. About 20 million people participated and over 600 million lines of code had been written. The Hour of Code also offered participation gifts to some of the schools involved, such as a set of fifty laptops or a conference call with one a tech “luminary” like Gates or Dorsey. The crowdfunding effort for Hour of Code received the highest amount of funding ever raised on Indiegogo. By October 2014, about forty million students had taken the Hour of Code class, and a second Hour of Code was held in December 2014. That year, locations for Hour of Code lessons included Apple retail stores.
In December 2016, Canadian Prime Minister Justin Trudeau helped launch the international Hour of Code campaign for 2016.
The first step in the organization’s efforts as regards the curriculum of schools was to work with US school districts to add computer programming as a class. Most US schools did not have a course code for computer sciences, in order for schools to be able to offer coding as a class. After this, the next step was to create free online teaching and learning materials for schools to use if instituting computer science classes. By 2014, Code.org had launched computer courses in thirty US school districts to reach about 5% of all the students in US public schools (about two million students), and by 2015, Code.org had trained about 15,000 teachers to teach computer sciences, able to reach about 600,000 new students previously unable to learn computer coding, with large percentages of those being either female or minorities.
That year Code.org was partnered with about seventy of the largest US school districts (including each of the seven largest), representing several million students. The company also partnered with other computer class businesses and private entities to provide additional computer learning materials and opportunities. As of 2015, six million students had been enrolled in Code.org curriculum classes. That year, Code.org partnered with College Board, in order to develop a slate of advanced placement computer classes. Code.org has also trained at least 15,000 educators to teach computer sciences. The main platform used in Code.org instruction is Code Studio which according to TechCrunch, “teaches the underlying concepts in programming through the manipulation of blocks of logic that when stacked together in a particular order, move a character around a scene or draw a shape.”
One of the main lobbying efforts of Code.org in state legislatures is to ensure that computer classes are not registered as foreign language classes, but as science classes, in order to ensure that more than coding is taught in computer courses. Code.org also focuses specifically on female and minority students, as the organization believes these are the students most at risk of not receiving computer science education before high school or college.
Writing for San Jose Mercury News, Mike Cassidy praised Code.org and the Hour of Code, writing: "A publicity stunt is what we need."John Dvorak was critical of the Hour of Code in an article for PC Magazine. Dvorak wrote: "I see it as a ploy to sell more computers in schools."