Privacy Policy
Last updated: February 2025
1. Introduction
Python Playground ("we", "us", or "our") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our web-based Python code execution service. Please read this privacy policy carefully. If you do not agree with the terms of this privacy policy, please do not access the application.
2. Information We Collect
We do not collect, store, or transmit your code. All code execution happens entirely in your browser using WebAssembly (Pyodide). Your code never leaves your device UNLESS YOU CHOSE TO USE THE SHARE FEATURE.
Information we may collect:
- Usage Analytics: Anonymous usage statistics to improve our service
- Device Information: Browser type, operating system (for compatibility)
- Error Logs: Anonymous error reports to fix bugs and improve reliability
3. How We Use Your Information
We use the information we collect to:
- Provide, operate, and maintain our service
- Improve, personalize, and expand our service
- Understand and analyze how you use our service
- Develop new features and functionality
- Communicate with you about updates and announcements
- Find and prevent technical issues and fraud
4. URL Sharing and Your Code
When you share your code via URL, your code is encoded in the URL itself. Anyone with the full URL can decode and view your code. We do not store these URLs on our servers, UNLESS YOU CHOSE TO USE THE SHARE FEATURE, in which case, your codes will be stored in our servers. When you share to social media platforms, those platforms may collect information according to their own privacy policies.
⚠️ Critical Warning: Never Store Secrets in Your Files
NEVER put any secrets — including API keys, passwords, tokens, private keys, database credentials, environment variables, or any other sensitive information — inside the contents of your files on this Playground.
🚨 When you use the Share feature of this Playground:
- The contents of ALL your files are stored in our database and associated with the generated share link.
- Anyone with the share link can view the full contents of every file you have open in the Playground.
- If any secrets are present in your files at the time of sharing, CONSIDER THOSE SECRETS AS LEAKED IMMEDIATELY.
- Rotate or revoke any leaked credentials without delay.
This Playground is designed for sharing code examples and educational content only. For any real project involving secrets, always use environment variables, secrets managers, or secure vault services — never hardcode sensitive values in source files.
5. Cookies and Local Storage
We use browser local storage to save your preferences (such as dark/light mode) and your code locally on your device. This data never leaves your browser. You can clear this data at any time through your browser settings.
- Theme Preference: Stored locally to remember your dark/light mode choice
- Code Files: Stored locally in your browser for persistence
- Installed Packages: Cached locally for faster loading
6. Third-Party Services
Our service may use the following third-party services:
- Pyodide: Python runtime (delivered via CDN)
- PyPI: Python package repository (for loading packages)
- CDN Services: For delivering static assets and libraries
These services have their own privacy policies, and we encourage you to review them.
7. Your Rights
You have the right to:
- Clear all locally stored data through your browser settings
- Opt-out of analytics tracking (if applicable)
- Request deletion of any personal information (contact us)
- Access and use the service without providing any personal information
8. Data Security
Since all code execution happens in your browser, your code never leaves your device unless you chose to use the Share feature. We implement appropriate technical and organizational measures to protect any data we do collect. However, no method of transmission over the Internet is 100% secure, and we cannot guarantee absolute security.
9. Children's Privacy
Our service is not directed to children under 13. We do not knowingly collect personal information from children under 13. If we become aware that we have collected personal information from a child under 13, we will take steps to delete such information.
10. Changes to This Privacy Policy
We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Last updated" date. You are advised to review this Privacy Policy periodically for any changes.
11. Contact Us
If you have any questions about this Privacy Policy, please contact us at jimchng@outlook.com.
