Code On Mobile is an offline code editor and compiler for Android. Write, run and explore console programs on your phone, or create local HTML, CSS and JavaScript previews in one workspace.
Practice programming, experiment with algorithms and work on small coding projects wherever you are. Start with a language template, edit your code and see the results without connecting to a cloud execution server.
Code in multiple languages
Work with bundled compilers and runtimes for Python, C, C++, Java, Kotlin, Rust, Dart, Go, JavaScript, TypeScript, Lua, Ruby, SQL, Zig and WebAssembly. The app supports console programs; available language features and libraries vary by compiler. Dart projects use the console compiler.
Build local web projects
Keep HTML, CSS and JavaScript files together and preview your pages on your device. Explore layouts, styling and browser scripts while working with your local project files.
Edit comfortably on your phone
- Read code with syntax highlighting and line numbers.
- Switch between open files using editor tabs.
- Undo and redo changes as you work.
- Enable word wrap for long lines.
- Adjust font size, indentation and appearance.
- Choose light or dark mode.
Organize your projects
Create files and folders, browse the project explorer and reopen closed files. Keep programs saved locally and continue working on them later. Ready-to-use starters help you begin with example code instead of an empty editor.
Run code and understand the results
View program output separately from build messages and errors. Supply standard input through a focused dialog for supported programs. Check diagnostics and stop a running program from the workspace.
Use the project terminal
Run supported local file commands and inspect project dependencies. Install compatible pure-Python packages through the terminal, reuse cached packages offline and configure project-local Dart path packages.
Practice at your own pace
Use your mobile IDE to explore loops, functions, data structures, SQL queries and programming exercises. Try an idea, change the code and compare the output in the same workspace.
Work offline
Core editing, local projects, web previews with local assets and bundled compiler execution work on your device. No account is required to start coding. Downloading additional compatible packages or loading remote web resources requires internet access.
Code On Mobile brings your code editor, supported compilers, project files and program output together for coding on Android.
Offline code editor and compiler for Python, C++, Java, Rust, Dart and more.