Features

Everything you need to code on the go.

A focused toolkit that makes writing, changing and running code on a phone or tablet feel natural.

Roadmaps and milestones

Turn a game or app idea into a short roadmap, then build it one reviewed milestone at a time with the agent.

Ask and Build

Ask questions about your code, or switch to Build and let the agent plan and edit your project. You approve every change.

Plan first, review file by file

The agent writes a plan you can build, change or save. Then tick the files you want to keep, or ask for a revision.

Git commit sheet

Pick the changed files, preview each one and push a commit to GitHub from your phone.

SQLite browser

Open a database file, browse its tables and run queries. Your file is never changed.

Local server

Serve your project and run JavaScript API routes on your iPhone, with a preview inside Crystal.

SSH terminal and server monitor

Run commands on your own Linux server and watch CPU, memory and disk.

Voice dictation

Speak your request to the agent or assistant instead of typing.

51 languages

From Python, JavaScript and C to Java, Kotlin, Go, Dart, Scala, Haskell, Julia and many more, all with syntax colours. The most popular run on your device; the rest run on an online compiler when you press Run.

GitHub and zip files

Open a repository or a .zip as a project, edit it, and commit changes back to GitHub or export the project as a .zip.

Remote files and WiFi transfer

Work with WebDAV and FTP servers, or send files to your phone from a computer with a code-protected WiFi page.

Red error lines

A failed run highlights the lines with the problem in red, so you find them at a glance.

Snippets and organised projects

Save and insert snippets, search your files, duplicate and move them between folders.

Code completions

Grey suggestions appear as you type, written by an AI model on your iPhone. Accept with a tap or Tab. Works offline and keeps your code on your phone.

Side panels for code

Files and the AI assistant on the left, output, variables, terminal and packages on the right. Slide them over your code and resize them.

Open and edit files live

Open any code file or folder from Files or Safari, signed in or not, with no internet needed. Edits save straight back to the file, you can run it, and web pages get a live preview.

AI edits you review

Ask AI to fix, explain, comment on or improve your code. Each change arrives as its own card, so you keep what you like and discard the rest. ✨ completions wait in a small pop-up until you apply them.

Built for touch

Notebook cells or multi-file projects, a code keyboard bar you can rearrange, a big Run button, and charts and tables that appear on their own when your code prints data. Open a whole folder from Files as a project.

Runs on your device

18 languages run right on your iPhone, with no server. Python, HTML/CSS and SQL are built in, and JavaScript, TypeScript, C, C++, Lua, R and nine more need a one-time download. The other 33, such as Rust, Java and Kotlin, compile through an online compiler, and your code is sent only when you press Run.

Learn to code

Separate courses for Python, JavaScript, TypeScript, HTML/CSS, SQL and C, each a long path that gets harder as you go, with instant checks and tips. Included with Learner and every monthly plan.

Your keys, your models

Connect an OpenAI-compatible, Gemini, Anthropic or Hugging Face key, or download a model to run on your device. Keys stay in your Keychain and are never sent to Crystal's servers.

Friends and sharing

Add friends by username, then send a project in two taps. They accept or decline, and you choose whether they can view or edit.

Widgets and Shortcuts

Home Screen widgets for your recent projects, learning streak and the weekly challenge. Shortcuts to open a project, start a file, continue learning or run Python.

Voice and Siri

Say “Hey Crystal” and ask for help, or give commands like “run file 3”, “open file main” and “stop running”. Those work without the internet. With Siri, say “Run this Python in Crystal”, “Run file 3 in Crystal” or “Run a file in Crystal” and answer with a number or a name. Voice recognition stays on your iPhone.

Syncs with your account

Your notebooks sync across devices, and your packages and saved model choices can be restored on another one.

Games, if you want them

24 built-in games, including platformers, Sudoku, Reversi, a shoot-'em-up and an endless road-crossing game, with swipe controls, six emulators and machines (Pocket Handheld, Game Boy, an 8-bit console, Tiny BASIC, Brainf and Forth), handy tools and examples, and weekly challenges with prizes. Every game runs in a sandbox.

Plans, trial and credits

Start free, with a 3-day trial of the Plus unlock (every language, tool, on-device AI and the courses). Buy a one-time unlock, or subscribe monthly for cloud AI. See Plans below for what each one includes.

Developer tools

Step through code with the time-travel debugger, read offline documentation, design interfaces visually and explore your device's sensors in Device Lab.

An agent that asks first

Before a big build the agent stops and asks what matters, such as the look, the controls or the size, with tap-to-answer choices. It then writes your project one file at a time, so large games and apps finish.

Progress on Home and your lock screen

A card on Home and a Live Activity show which file the agent is writing and how far along it is, and tell you when it is done, so you can put the phone down. Talk to it by voice, hands-free if you like.

Works with no internet

Run many languages and on-device AI models in airplane mode. Most coding apps stop when you lose signal. Crystal keeps going.

The app

See how Crystal looks.

These are real screenshots from the Crystal app on an iPhone. Five tabs along the bottom take you between Home, Build, Code, Play and Tools.

HomeSay what you want to make, choose Website, Web app or Game, and jump back into your workspace.
Build with AIDescribe it and agents plan, build and fix it, right in the chat. Switch to Chat any time.
ChatAsk about your code, or switch to Improve Code. Pick the model from the menu at the top.
CodeNotebooks and multi-file projects, a Run button on every cell, and Cells, AI and Tools under the Run all bar.
Assistant panelSlide the left panel over your code to ask about it. Switch to your files or notebooks from the top.
Output panelThe right panel shows what your code printed, plus variables, a terminal and packages. Run from right there.
Improve CodeDescribe a change and Crystal rewrites the selected cell. Review the suggestion, then apply it with one tap.
Voice assistantTalk to Crystal hands-free while you work. It listens, and answers out loud.
LearnA course for each language that fits you, with XP, a streak and a clear next lesson.
Lesson pathShort lessons unlock one after another, and the first ones explain every word.
ArcadeBuilt-in games, emulators and tiny machines to program, a game of the day and weekly challenges.
Play and learnYour own websites and games, the Arcade, a game the agent builds for you, and your learning path.
My gamesAdd a game with a name and a picture, and tap it to play. Nothing to run, and it stays on your phone.
My websitesWhole folders of web pages. Link one and Crystal always opens the newest version.
AI Models & HubInstall models that run on your iPhone, add an API key, or pick a recommended cloud model. Over 300 to choose from.
ToolsHandy tools, servers and data, Git and sharing, and your account, in groups that open as you need them.
New in Crystal

More than an editor.

Builds happen in the chat

Ask in Code and a to-do list ticks itself off while the AI works. Every build gets a notebook of its own, it remembers what it built, and after three failed tests it stops and asks what you want. An optional setting makes it open and test the result too.

Your own games and programs, on your phone

Add an HTML game, or a program in any language Crystal runs (Python, JavaScript, TypeScript, C, C++ and the rest), a Jupyter notebook, or a whole folder or zip of files. Give it a name and a picture, and tap it: a page plays, a program runs and shows what it prints. Everything stays on your phone. Optionally, let the AI read one to translate it into another language.

Your own websites

Add a whole folder of web pages, one HTML file or a zip. Link it from iCloud Drive or Files and the newest version opens every time. Sites are offline by default, with an internet switch for each one.

See how an answer was made

Each Chat answer shows its steps: understanding, gathering context, asking the model, writing. Open a step to see what was read, what was sent and what the AI said it was doing.

AI agent for whole projects

Describe a job. The agent plans edits across your files, runs the code, reads any error and fixes it itself (up to three tries), then shows the finished diff. Your original code is kept until you press Keep, and Undo all puts everything back.

Live collaboration

Share a project with a friend and see who is in it, which file they are on, and follow them as they move. Changes sync every few seconds.

Camera to code

Photograph code on a whiteboard, in a book or on another screen. Crystal reads it on the phone, keeps the indentation, and can fix recognition mistakes with AI.

Interactive outputs

Printed tables become sortable tables. Plots can be pinched and zoomed. Add a comment like # @param 0..10 after a number and it becomes a slider that reruns your code.

Hardware lab

Record the motion sensors, plot them live, save a CSV or drop the data into your code, and scan for nearby Bluetooth devices.

Debug with a timeline

Step through a run, watch any number change as a line chart, and tap Explain this step for a plain-words reason.

Share without a server

Send a notebook as one web page that runs Python in the browser, or as a small Open in Crystal link that carries the code.

Community library

Publish snippets and project templates, browse what others made, like and report. Items that look like they contain a secret key are refused.

Made for keyboards too

A Crystal menu with Run, Stop, New Cell and Ask the Agent, plus ⌘1 to ⌘5 to move between the five tabs. Ask the agent from Siri or Shortcuts too.

Lessons that fit you

Three quick questions on the first launch: how much code you know, what brought you, and what you want to make. They pick your course and keep the tour short, and people who already code can skip ahead.

Plain explanations

Ask Chat to explain your code and it explains it, in plain words, instead of rewriting it. Any code in a reply sits in its own coloured block with a Copy button.

Previews that stop when code changes

A game or page you ran stops showing as soon as its code changes, and tells you to press Run again, so what you see always matches what you wrote.

Choose your voice model

Pick any shared model to answer by voice. Crystal recommends one for best price, one for speed and one for power, and lists every model below them. Voice counts towards your plan, like chat.

Draw with AI

When a model can make pictures, a button appears in Chat. Describe what you want and the image arrives in the conversation, ready to share or save. It uses your plan allowance too.

Make videos

Describe a clip and pick a video model. Crystal makes a short video in a few minutes, plays it in the app and lets you share or save it. You see the most it can cost before you start, and you only pay what it really costs.

Crystal AI

AI edits you stay in control of.

Ask Crystal AI to fix a bug, explain an error or add a feature. It proposes the edit, you review the exact lines it wants to change, and nothing touches your code until you apply it.

  • See every proposed change as a clear before-and-after diff
  • Keep or discard each change on its own, then apply the ones you want
  • Chat about your code, or describe what to build with Build
  • A tidy Code page: one Run button with every way to run behind it, and grouped Cells, AI and Tools menus
  • Short, friendly model names such as Qwen2.5 Coder, instead of long repository paths
  • Pick the model for code edits in Code settings, from the ones your plan includes
  • Or connect your own OpenAI, Anthropic, Google Gemini or OpenRouter account with a key you create on their site, add any OpenAI-compatible service, or run a model on your device
Learn

Courses for each language.

Learn, inside the Play tab, has a separate, step-by-step course for each language, with sections that get harder as you go. Lessons open in a code page where Run is replaced by Check.

  • Python, JavaScript, TypeScript, HTML/CSS, SQL and C paths, each a long winding trail with its own colours
  • Instant checks, hints on tap and a streak to keep going
  • Learning sits in the Play tab on the bottom bar, one tap away
Your account

See your plan and credits, anywhere.

Your Crystal account works in the app and on this website. Sign in with the same email and password to see your plan, where your access comes from and your remaining AI credits.

  • Your plan, one-time unlocks, trial and Learning status
  • AI credits remaining and recent activity (on plans with cloud AI)
  • Profile, username and password in one place
  • Delete your account any time

Sign in

Arcade

Games that actually play well.

24 built-in games, including platformers, Sudoku, Reversi, a shoot-'em-up and an endless road-crossing game, with swipe and tap controls kept inside the screen, smooth animation and a different win celebration for each one. Puzzle games start straight away; action games start when you tap or swipe. Continue where you left off, pin your favourites, and search the lot.

  • Pixel Hop and Sky Climber platformers, Snake, 2048, Block Drop, Brick Breaker, Connect Four, Lights Out, Whack-a-Mole, Solitaire and more
  • Weekly challenges give the winner a small prize the owner picks, like credits or a discount
Pocket handheld

Emulators with a real handheld feel.

Pick a cartridge, then play with a proper pad and buttons on screen. Crystal includes four original games and a Game Boy player for games you own.

  • Four original CHIP-8 games, or import your own .ch8 programs
  • A Game Boy emulator for ROMs you own (no games are included)
A handheld console with a screen, pad and buttons

Ready to try it?

Get Crystal on your iPhone.