Important
Microsoft Copilot uses AI and might make mistakes or misinterpret instructions. Review requests and results carefully, especially before Copilot Code runs commands, connects to the internet, changes files, or before you share personal information. You're responsible for actions Copilot takes on your behalf. By using Copilot, you agree to the Terms of Use. For more information, see the Microsoft Privacy Statement.
Microsoft Copilot Code for personal accounts is currently in Preview.
This information relates to a prerelease product that may be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.
Copilot Code turns a description into working software. You can ask Copilot Code to build an app, dashboard, website, data transform, or script. Copilot Code creates the files, shows a preview when the project supports one, and updates the project as you give feedback.
You don't need to know how to code.
Availability
Copilot Code for personal accounts is available first to participants in the Windows Insider Program through the Microsoft Copilot app for Windows. Learn more about the Windows Insider Program in Getting started with the Windows Insider Program. Over the coming weeks, it will roll out to more Copilot app users on Windows.
At launch, Copilot Code is available only in the United States and Canada. To use it, sign in with a personal Microsoft account that has a Microsoft 365 Premium or Pro subscription.
What you can do with Copilot Code
- Build apps, dashboards, static websites, scripts, and data transforms.
- Add files, images, documents, spreadsheets, presentations, PDFs, or pasted text as context.
- Preview supported websites and apps while Copilot Code builds them.
- View and edit the generated files.
- Refine a project with natural-language instructions or return to an earlier version.
- Connect GitHub to work with repositories, branches, commits, and pull requests.
Open Copilot Code
Sign in with a personal Microsoft account that has a supported Microsoft 365 plan. To open Copilot Code, follow these steps:
- Open the Microsoft Copilot desktop app.
- Select Code in the tab switcher in the left side panel.
Note
The first time you open Copilot Code on Windows, the app downloads more software and files it needs. This download happens once.
Start your first project
To start your first project, follow these steps:
- Open the Microsoft Copilot app.
- Select Code in the tab switcher in the left side panel.
- In the task input, describe what you want. Be specific about what the result should do and who it's for. For example: Create a website for a neighborhood event with a schedule and sign-up form.
- To add context, select the plus sign (+) to upload files, or drag and drop files such as a CSV, spreadsheet, images, text, documents, PDFs, or presentations onto the task input.
- If you want Copilot Code to work with an existing folder on your device, open the folder and start a local project.
- Send your request.
Tip
Start with the core of what you want, then add features as you go. A focused first prompt gives Copilot Code a clear starting point.
Copilot Code might ask questions about the project before it starts. Answer the questions to guide the result, or continue with the suggested option.
As Copilot Code works, it shows progress in the conversation. For supported websites and apps, the canvas next to the conversation shows a live preview. Switch to the code view to see or edit the generated files.