Pocket Compiler is a code editor and compiler for your phone: a Python compiler, a Java compiler and a C++ compiler in one IDE, with GitHub and a terminal built in. Write code or open a file, tap ▶ Run, and see the output, or the error and the line it came from. No account needed.
SAW A CODE IN OUR SHORTS? TYPE IT
• Our Pocket Compiler Shorts on YouTube show a short code, like AI2. Type it in the app and that program opens, ready to run.
• Every video code is free to see, run and copy, with a step-by-step "How it works".
• Editing a video code in the editor is part of Pro.
RUN CODE OFFLINE
• Python, JavaScript, HTML and SQL run offline from the moment you install.
• Java runs free too: a one-time download, then offline.
• C, C++, PHP and React come with Pro. Each is a one-time download (internet needed once).
• Program input: type what your program reads with input(), scanf, cin or Scanner, then run.
• HTML opens as a live page. SQL shows its results as a table.
ERRORS THAT POINT TO THE LINE
• Compiler and runtime errors show the line they came from. Tap an error to jump to it.
• A program stuck in a loop stops at the time limit, so the app stays usable.
GITHUB IN YOUR POCKET
• Browse any public repository and its files. The Code tab shows the repo's languages and whether it runs here.
• Clone a repo and run it: 5 clones free, unlimited with Pro.
• Sign in with GitHub. Save a file as a Gist for free, or to a repository with Pro.
A TERMINAL ON YOUR PHONE
• git, python, node and sqlite3 work in the built-in terminal, plus everyday commands like ls and cat.
• SSH into your own server with Pro.
PYTHON PACKAGES
• Install the packages in a requirements.txt: pure-Python packages plus numpy, pandas and other supported ones.
• 3 package installs are free, then Pro.
A CODE EDITOR THAT KEEPS UP
• Syntax highlighting, a key bar for brackets, quotes and tab, find and replace, go to line, word wrap and a dark theme
• Tabs, so several files stay open at once
• Projects with Pro: a folder of files with an explorer, tabs, quick open and search, like a small IDE
• Format and validate JSON, YAML and XML, and see where the error is
✨ COSMO AI, WHEN YOU WANT IT
• Ask COSMO AI to explain a piece of code or to fix an error, right in the editor.
• It is optional, for users 18+, and uses COSMO credits.
OPEN ANY CODE OR TEXT FILE
• Tap "Open with" in your file manager, downloads or chat app and pick Pocket Compiler.
• Opens .py, .js, .html, .sql, .c, .cpp, .java and .php files, plus TXT, LOG, JSON, XML, YAML, CSV, Markdown and shell files.
WHO IT IS FOR
• Students running class exercises, with no laptop around
• Anyone trying a program from a video, a tutorial or a book
• Developers checking a repo or a query away from the desk
PRIVATE BY DESIGN
Your code is stored and run on your device. When you use COSMO AI, only what you choose to send goes to Google's Gemini API. We don't keep your prompts or answers, and they are never used to train AI models. Git sign-ins stay in your device's secure storage.
FREE AND PRO
• Free: the code editor, every file type, program input, runs of up to 5 seconds in Python, JavaScript, HTML, SQL and Java, every video code, GitHub browsing, 5 clones, Gists, 3 package installs and the terminal.
• Pro: C, C++, PHP and React, runs of up to 20 seconds, unlimited clones and package installs, saving to a repository, SSH, Projects, editing video codes, run history for each file and more editor themes.
• Pro is a monthly subscription or a one-time purchase. A subscription can be managed or cancelled in Google Play at any time.
• The free version shows ads. Pro turns them off as well.
• Terms of Service: https://cosmovex.web.app/terms-of-service
• Privacy Policy: https://cosmovex.web.app/apps/textvedit/privacy-policy
Both are also linked on the purchase screen.
Write it, tap Run, see what it does. Your code stays on your phone.
Latest Version
2.1.1Uploaded by
La Yate
Requires Android
Android 7.0+
Category
Free Tools AppContent Rating
Everyone
Security Report
Check Now
Report
Flag as inappropriateLast updated on Nov 8, 2026
Pocket Compiler 2.1.1
• Projects: open and run the sample project for free; C/C++ includes from subfolders; PHP projects clean up deleted files.
• Editor: Enter keeps your indentation again; Recent follows renamed and deleted files.
• Python packages: clearer messages when offline.
• Java runs free.
• GitHub sign-in is now available.
• Small fixes across the app.
