Content Policy

Last updated: October 21, 2026

Overview

Online Python (online-python.com) is a free tool for writing, running and learning Python in the browser. This Content Policy sets out what you may and may not do on the site: the code you write and run, the code you share, and how you use our servers. It also explains how we check and moderate content, how to report problems, and what happens when the rules are broken.

This policy is part of our Terms & Conditions and works alongside our Privacy Policy. By using the site you agree to follow it. It applies to everyone who uses the site, and it is also the policy we share with our advertising partners.

Where user content appears

The only way to publish content on online-python.com is the Share button in the code editor. It saves your code and creates a link, so the code can be opened at that link.

Code you write or run but do not share is not published or shown to anyone else.

Content that is not allowed

Shared code, including its file names, comments, strings and any text it prints, must not contain or link to:

Content should relate to programming or learning to program. Educational code that discusses a sensitive topic in a neutral way (for example, a word filter or a security exercise) is fine as long as it does not itself break the rules above.

Acceptable use of the code runner

Code you run on online-python.com runs either in your own browser or on our servers. You must not use the site to:

Your responsibility

Children

Online Python is a general programming tool, not a service directed at children. Students may use it for learning, with a parent's, guardian's or teacher's guidance where the law requires it. Shared content must be suitable for a general audience.

How content is checked

Before it goes live

Every share request is checked automatically before anything is saved. Code and file names are matched against a list of profanity, slurs and sexual terms, including common disguises such as repeated letters, symbols in place of letters, and letters separated by symbols. If the check finds a match, the share is rejected and the user is asked to remove the word. Shares larger than the size limit are also rejected.

After it goes live

Automatic checks can't catch everything, so reports from users matter. We may also remove content that the filter missed if we find it ourselves.

Reporting content

To report shared code that breaks this policy, use the Report this code link at the bottom of the page, or email support at online-python.com with the link and a short description of the problem. Every report is reviewed by a person. Content that breaks this policy is removed within 24 hours of the report, and the link stops working as soon as the content is removed.

If you shared code by mistake and want it removed, email us the link.

Copyright complaints

If you believe shared code infringes your copyright, email support at online-python.com with the link, a description of the work you own, your contact details, and a statement that you believe in good faith that the use is not authorised. We remove infringing content once we have checked the complaint.

Security issues

If you find a security vulnerability on the site, please report it privately to support at online-python.com rather than sharing it publicly or testing it on other people's data. Do not access data that isn't yours.

Enforcement

If you think we removed your content by mistake, email us with the link and we will review it again.

Advertising

Online Python is free because of advertising. Ads are served by our advertising partners on pages whose content we control, and never on pages that show user-shared code. Advertising partners can contact support at online-python.com with questions about this policy or about specific pages.

Changes

We may update this policy as the site changes. The date at the top shows when it last changed. Continuing to use the site after a change means you accept the updated policy.

Contact

Questions about this policy: support at online-python.com.

Send feedback