Code2PDF
PythonJavaScriptJavaC++

Your work stays yours

Privacy Policy

Code2PDF is designed to format source code locally in your browser. This policy explains what stays on your device, what normal web requests disclose, and what choices you have.

Effective date August 18, 2026

On this page

01Scope and overview02Your code and files03Information we receive04How information is used05Sharing and providers06Retention and security07Your privacy rights08Children's privacy09Changes and contact

1. Scope and overview

This Privacy Policy applies to the Code2PDF website at code2pdf.net and the code-to-PDF tools provided through it (the “Service”). In this policy, “Code2PDF,” “we,” “us,” and “our” refer to the operator of the Service.

The short version: source code and files you open in the converter are processed in your browser and are not uploaded to Code2PDF for conversion. Like any website, our hosting and content-delivery providers still receive ordinary network request information when your browser loads the Service.

This policy does not cover third-party websites linked from our language guides or other pages. Their own privacy terms apply when you visit them.

2. Your source code, files, and generated PDFs

The converter reads selected source files locally using browser APIs. Editing, syntax highlighting, preview rendering, and PDF generation occur on your device. We do not intentionally transmit the contents of your source code or the generated PDF to our servers.

Code2PDF does not compile, run, test, or inspect your program on a remote server. Your browser may temporarily hold code, previews, generated files, fonts, and application resources in memory or browser-managed storage and caches. You can clear these by closing the page or clearing site data through your browser.

Please remove passwords, API keys, personal information, private URLs, database credentials, and other secrets before opening or pasting code. Local processing reduces disclosure risk but cannot protect information already exposed through your device, browser extensions, screen sharing, malware, or a shared computer.

3. Information we receive

Technical request data

When you load the website, servers and content-delivery networks may automatically receive your IP address, request time, requested URL, referring page, browser and device type, operating system, language settings, and basic error or security-event information. This information is generally produced by HTTP requests and server logs.

Messages you send us

If you contact us by email, we receive your email address and the information you choose to include. Do not attach confidential source code unless we specifically request it and you are authorized to share it.

Cookies and analytics

Code2PDF uses Google Tag Manager to load and manage measurement tags that help us understand page visits, feature use, and site performance. When the Tag Manager container loads, Google and any configured measurement provider may receive technical request data such as your IP address, requested URL, referrer, browser, device information, and interaction events. Whether cookies or similar browser storage are used depends on the tags active in the container and the consent choices available to you.

Analytics tags are not given the source code, files, PDF contents, or document title handled inside the converter. We do not use Tag Manager to execute, inspect, or upload your code. Where consent is required, non-essential measurement is subject to the choices presented for your region.

4. How and why information is used

We may use the limited information described above to deliver requested pages and software resources, maintain reliability and security, diagnose errors, prevent abuse, answer messages, enforce our Terms of Use, comply with law, and protect users and the Service.

Where a legal basis is required, processing may be based on performing the Service you request, our legitimate interests in operating and securing the Service, complying with legal obligations, or your consent where applicable. We do not use your source code to train artificial-intelligence models because the converter does not send that code to us.

5. Sharing, service providers, and transfers

We do not sell personal information. We do not share personal information for cross-context behavioral advertising. We may disclose limited information in these circumstances:

  • Infrastructure providers. Website hosts and content-delivery providers process technical requests to deliver and protect the Service. The browser-based PDF compiler may be downloaded from jsDelivr, whose servers receive a separate resource request.
  • Measurement providers. Google processes technical request and measurement data when Google Tag Manager and configured analytics tags load. Google may process this information in other countries under its own privacy terms.
  • Legal and safety reasons. We may disclose information if reasonably necessary to comply with law, respond to valid legal process, investigate abuse, or protect rights, safety, and the integrity of the Service.
  • Business changes. Information may be transferred as part of a merger, financing, reorganization, or sale of the Service, subject to appropriate safeguards and notice where required.

Providers may process information in countries other than yours. Where required, we use legally recognized safeguards for international transfers.

6. Retention and security

We retain technical logs and correspondence only for as long as reasonably needed for the purposes described above, including security, troubleshooting, legal compliance, and dispute resolution. Actual periods can vary by record type and infrastructure provider. Locally processed source code is not part of our server retention because we do not receive it for conversion.

We use reasonable technical and organizational measures appropriate to a browser-based service. No internet transmission, browser environment, or storage system is completely secure, so we cannot guarantee absolute security.

7. Your privacy rights

Depending on where you live, you may have rights to request access to, correction of, deletion of, or a copy of personal information; to object to or restrict certain processing; to withdraw consent; and to complain to a data-protection authority. California residents may also have rights to know, delete, correct, opt out of sale or sharing, limit certain uses of sensitive information, and receive equal service when exercising their rights.

Code2PDF does not currently sell or share personal information for behavioral advertising, so there is no sale or advertising-sharing activity to opt out of. To make a request, email contact@code2pdf.net. We may need to verify your identity and may retain information where an exception or legal obligation applies.

8. Children’s privacy

The Service can be useful for schoolwork, but it is a general-audience tool and is not directed to children under 13. We do not knowingly collect personal information online from children under 13. If you believe a child has sent us personal information, contact us so we can investigate and delete it where required.

Students should use the Service under the supervision and rules of their parent, guardian, school, or teacher when applicable, and should avoid placing personal information in source files or document titles.

9. Changes and contact

We may update this policy as the Service, providers, or legal requirements change. We will publish the revised policy here, change the effective date, and provide additional notice when required.

For privacy questions or requests, contact the Code2PDF operator at contact@code2pdf.net.

© 2026 Code2PDF.
Converter Privacy Policy Terms of Use Contact