Code
Generate unit tests from your code
Paste your function and get a ready-to-run test suite covering the important cases.
Examples
What you can make
Illustrative previews. Your results are generated live from your input.
How it works
- 1Type your request or upload your file in the box above.
- 2We route it to the model best suited to this task.
- 3Get your result. Copy, download, or refine it.
Frequently asked questions
Is it free?
Yes. You get 20 free uses per day with no account required. Pro and Max plans unlock higher limits and additional features.
Is it private?
Yes. No sign-up is needed to start. We do not sell your data or use your prompts to train models. See our Privacy Policy.
What are the limits?
Free users get 20 general credits per day, resetting daily. See Pricing for Pro and Max allowances.
More Code products
Choose another product
Code assistantDescribe what you want to build and get working code. Supports all major languages and frameworks.Open Code assistant →
Bug fixerPaste in your broken code and get a corrected version with an explanation of what was wrong.Open Bug fixer →
Code explainerPaste in code you don't understand and get a clear, plain-English breakdown of what it does.Open Code explainer →
SQL generatorDescribe the data you want to query in plain English and get a correct SQL query back.Open SQL generator →
Regex generatorDescribe what you need to match and get a correct regular expression with an explanation.Open Regex generator →
Code converterPaste code in one language and get a faithful translation into another, with notes.Open Code converter →






