Sign in with your email and password.
Choose a new password for your account.
Your account is on the Free plan, which covers instant formatting for JavaScript, TypeScript, Python, CSS, and HTML.
Saved under your account, so it's there next time you sign in — tag it to make it easy to find.
Format, lint, and optimize code across 20+ languages with contextual AI — right in your browser, no install, no account.
No bloat. No lock-in. Just a formatter that respects your time and your code.
Sub-100ms client-side formatting for every supported language, right in your browser.
Format Code runs 100% locally — your code never leaves your browser. The AI features below (Pro) necessarily send code to our servers to reach the model; we don't store it afterward.
Contextual AI that catches logic issues and explains refactors as it formats.
Tag, search, and organize snippets. Pro unlocks an unlimited private vault plus public sharing links.
Upload up to 200 files at once — language is detected per file — and download one combined report of the formatted results.
Call the same 20+ language engine from your CI pipeline, deploy scripts, or internal tools — up to 50,000 requests a month on Pro.
Stop switching between Prettier, Black, and gofmt. Free covers JavaScript, TypeScript, Python, CSS, and HTML — Pro unlocks all 20+.
No lock-in. No hidden fees.
No credit card required
Checks every pull request with a real GitHub Action and comments a computed style score directly on the PR — it flags what needs formatting, it doesn't auto-fix or commit changes for you.
Real — install from source🧹 Code Optimizer format check
Style score: 87/100 — 13 of 15 files already formatted
Needs formatting: auth-middleware.js, session.py
Turn any formatted snippet into a public URL with syntax highlighting built in — a Pro feature, gated the same way the rest of the Snippet Vault is.
Real — built inconst sum = (a, b) => a + b;
14-day free trial · Cancel anytime · No credit card
Pro users get up to 50,000 API requests per month. Build formatting into your CI pipeline, deploy scripts, or internal tools.
curl -X POST https://api.codeoptimizer.dev/v1/format \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"language":"python","code":"def f(a,b): return a+b"}'
Free tier is free forever. No card needed. No install required.
Join 150,000+ developers already using Code Optimizer.
Pick a language, paste your code, and clean it up in milliseconds — or let AI Optimize rewrite it for real.
Click "Format Code" to see the result →
Batch processing is a Pro feature. Upload a whole folder of code at once and format every file in one pass, then download a single report with everything formatted.
Upload multiple code files. Language is detected per file from its extension (or its content, if the extension isn't recognized), then each one is formatted with the same engine as the single-file formatter above.
Accepted file types:
JavaScript (.js, .jsx, .mjs, .cjs) · TypeScript (.ts, .tsx) · Python (.py) · Go (.go) · Rust (.rs) ·
CSS (.css) · SQL (.sql) · HTML (.html, .htm) · Java (.java) · C++ (.cpp, .cc, .cxx, .h, .hpp) ·
C# (.cs) · Ruby (.rb) · PHP (.php) · Swift (.swift) · Kotlin (.kt, .kts) · Scala (.scala) ·
Shell (.sh, .bash) · YAML (.yaml, .yml) · JSON (.json) · Markdown (.md, .markdown)
Limits: up to 200 files per batch, 2MB per file.
The Snippet Vault is a Pro feature. Save any formatted snippet, tag and search your whole collection, reload a snippet straight back into the editor, or turn one into a read-only share link — all stored under your account, not just this browser tab.
Nothing saved yet. Format something above, then hit "Save to Vault" to start your collection.
This reflects your real account data. The payment flow itself needs a real backend and processor (e.g. Stripe) wired up before it can move real money.
API access is a Pro feature. Upgrade to generate a real key and call the formatter programmatically — up to 50,000 requests a month — from your CI pipeline, deploy scripts, or internal tools.
—
This counter reflects real traffic against your key via GET /v1/usage —
it's live once a backend is connected (see API_CONFIG in the code), and honestly shows 0
until then rather than inventing numbers.
Audit logs are a Pro feature. See a real history of what's happened on your account — sign-ins, snippet changes, API key rotations, and billing events — each with a timestamp, so you always know what happened and when.
No activity yet — sign-ins, snippet changes, API key rotations, and billing events will show up here as they happen.
Permanently delete your account, snippets, API key, and usage history. This can't be undone.
This permanently deletes your account, snippets, API key, and usage history — there's no undo. Enter your password to confirm.
Checked live from your own browser the moment you load this page — not a historical dashboard.
What we collect, why, and how to get it deleted.
Last updated:
This Privacy Notice for Code Optimizer (" we ," " us ," or " our " ), describes how and why we might access, collect, store, use, and/or share (" process ") your personal information when you use our services (" Services "), including when you:
Questions or concerns? Reading this Privacy Notice will help you understand your privacy rights and choices. We are responsible for making decisions about how your personal information is processed. If you do not agree with our policies and practices, please do not use our Services. If you still have any questions or concerns, please contact us at dh@code-optimizer.com .
This summary provides key points from our Privacy Notice, but you can find out more details about any of these topics by clicking the link following each key point or by using our table of contents below to find the section you are looking for.
What personal information do we process? When you visit, use, or navigate our Services, we may process personal information depending on how you interact with us and the Services, the choices you make, and the products and features you use. Learn more about personal information you disclose to us .
Do we process any sensitive personal information? Some of the information may be considered "special" or "sensitive" in certain jurisdictions, for example your racial or ethnic origins, sexual orientation, and religious beliefs. We do not process sensitive personal information.
Do we collect any information from third parties? We do not collect any information from third parties.
How do we process your information? We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We may also process your information for other purposes with your consent. We process your information only when we have a valid legal reason to do so. Learn more about how we process your information .
In what situations and with which parties do we share personal information? We may share information in specific situations and with specific third parties. Learn more about when and with whom we share your personal information .
How do we keep your information safe? We have adequate organizational and technical processes and procedures in place to protect your personal information. However, no electronic transmission over the internet or information storage technology can be guaranteed to be 100% secure, so we cannot promise or guarantee that hackers, cybercriminals, or other unauthorized third parties will not be able to defeat our security and improperly collect, access, steal, or modify your information. Learn more about how we keep your information safe .
What are your rights? Depending on where you are located geographically, the applicable privacy law may mean you have certain rights regarding your personal information. Learn more about your privacy rights .
How do you exercise your rights? The easiest way to exercise your rights is by submitting a data subject access request , or by contacting us. We will consider and act upon any request in accordance with applicable data protection laws.
Want to learn more about what we do with any information we collect? Review the Privacy Notice in full .
We collect personal information that you voluntarily provide to us when you register on the Services, express an interest in obtaining information about us or our products and Services, when you participate in activities on the Services, or otherwise when you contact us.
Personal Information Provided by You. The personal information that we collect depends on the context of your interactions with us and the Services, the choices you make, and the products and features you use. The personal information we collect may include the following:
Sensitive Information. We do not process sensitive information.
Payment Data. We may collect data necessary to process your payment if you choose to make purchases, such as your payment instrument number, and the security code associated with your payment instrument. All payment data is handled and stored by Stripe . You may find their privacy notice link(s) here: https://stripe.com/privacy .
All personal information that you provide to us must be true, complete, and accurate, and you must notify us of any changes to such personal information.
We automatically collect certain information when you visit, use, or navigate the Services. This information does not reveal your specific identity (like your name or contact information) but may include device and usage information, such as your IP address, browser and device characteristics, operating system, language preferences, referring URLs, device name, country, location, information about how and when you use our Services, and other technical information. This information is primarily needed to maintain the security and operation of our Services, and for our internal analytics and reporting purposes.
Like many businesses, we also collect information through cookies and similar technologies.
The information we collect includes:
We process your personal information for a variety of reasons, depending on how you interact with our Services, including:
If you are located in the EU or UK, this section applies to you.
The General Data Protection Regulation (GDPR) and UK GDPR require us to explain the valid legal bases we rely on in order to process your personal information. As such, we may rely on the following legal bases to process your personal information:
If you are located in Canada, this section applies to you.
We may process your information if you have given us specific permission (i.e., express consent) to use your personal information for a specific purpose, or in situations where your permission can be inferred (i.e., implied consent). You can withdraw your consent at any time.
In some exceptional cases, we may be legally permitted under applicable law to process your information without your consent, including, for example:
We share personal information with the service providers that operate parts of the Service on our behalf: Stripe (payment processing), Google (the Gemini API for AI features, and Google Cloud for hosting), Neon (database hosting), our email provider (verification and password reset messages), and Sentry (error monitoring). We may also need to share your personal information in the following situations:
We use two strictly necessary first-party cookies to keep you signed in and to protect your account from forged requests. We do not use web beacons, tracking pixels, analytics cookies, or advertising cookies, and we do not permit third parties to place tracking technologies on our Services. Because none of our cookies are used for advertising or analytics, none of them constitute a “sale” or “sharing” of personal information under US state privacy laws. Specific information about each cookie we set is in our Cookie Policy.
To the extent these online tracking technologies are deemed to be a "sale"/"sharing" (which includes targeted advertising, as defined under the applicable laws) under applicable US state laws, you can opt out of these online tracking technologies by submitting a request as described below under section " DO UNITED STATES RESIDENTS HAVE SPECIFIC PRIVACY RIGHTS? "
Specific information about how we use such technologies and how you can refuse certain cookies is set out in our Cookie Notice .
As part of our Services, we offer products, features, or tools powered by artificial intelligence, machine learning, or similar technologies (collectively, "AI Products"). These tools are designed to enhance your experience and provide you with innovative solutions. The terms in this Privacy Notice govern your use of the AI Products within our Services.
Use of AI Technologies
We provide the AI Products through third-party service providers ("AI Service Providers"), including Google Cloud AI. As outlined in this Privacy Notice, your input, output, and personal information will be shared with and processed by these AI Service Providers to enable your use of our AI Products for purposes outlined in " WHAT LEGAL BASES DO WE RELY ON TO PROCESS YOUR PERSONAL INFORMATION? " You must not use the AI Products in any way that violates the terms or policies of any AI Service Provider.
Our AI Products
Our AI Products are designed for the following functions:
How We Process Your Data Using AI
All personal information processed using our AI Products is handled in line with our Privacy Notice and our agreement with third parties. This ensures high security and safeguards your personal information throughout the process, giving you peace of mind about your data's safety.
We will only keep your personal information for as long as it is necessary for the purposes set out in this Privacy Notice, unless a longer retention period is required or permitted by law (such as tax, accounting, or other legal requirements). No purpose in this notice will require us keeping your personal information for longer than the period of time in which users have an account with us .
When we have no ongoing legitimate business need to process your personal information, we will either delete or anonymize such information, or, if this is not possible (for example, because your personal information has been stored in backup archives), then we will securely store your personal information and isolate it from any further processing until deletion is possible.
We have implemented appropriate and reasonable technical and organizational security measures designed to protect the security of any personal information we process. However, despite our safeguards and efforts to secure your information, no electronic transmission over the Internet or information storage technology can be guaranteed to be 100% secure, so we cannot promise or guarantee that hackers, cybercriminals, or other unauthorized third parties will not be able to defeat our security and improperly collect, access, steal, or modify your information. Although we will do our best to protect your personal information, transmission of personal information to and from our Services is at your own risk. You should only access the Services within a secure environment.
We do not knowingly collect, solicit data from, or market to children under 18 years of age or the equivalent age as specified by law in your jurisdiction, nor do we knowingly sell such personal information. By using the Services, you represent that you are at least 18 or the equivalent age as specified by law in your jurisdiction or that you are the parent or guardian of such a minor and consent to such minor dependent’s use of the Services. If we learn that personal information from users less than 18 years of age or the equivalent age as specified by law in your jurisdiction has been collected, we will deactivate the account and take reasonable measures to promptly delete such data from our records. If you become aware of any data we may have collected from children under age 18 or the equivalent age as specified by law in your jurisdiction, please contact us at dh@code-optimizer.com .
In some regions (like the EEA, UK, Switzerland, and Canada), you have certain rights under applicable data protection laws. These may include the right (i) to request access and obtain a copy of your personal information, (ii) to request rectification or erasure; (iii) to restrict the processing of your personal information; (iv) if applicable, to data portability; and (v) not to be subject to automated decision-making. If a decision that produces legal or similarly significant effects is made solely by automated means, we will inform you, explain the main factors, and offer a simple way to request human review. In certain circumstances, you may also have the right to object to the processing of your personal information. You can make such a request by contacting us by using the contact details provided in the section " HOW CAN YOU CONTACT US ABOUT THIS NOTICE? " below.
We will consider and act upon any request in accordance with applicable data protection laws.
If you are located in the UK and are unhappy with how we have handled your personal information, you can make a complaint directly to us. This is in addition to the rights you have under the UK General Data Protection Regulation and the Data Protection Act 2018.
How to contact us:
What happens after you complain
If you are not happy with our final response, you can refer your complaint to the Information Commissioner's Office, the UK supervisory authority.
If you are located in the EEA or UK and you believe we are unlawfully processing your personal information, you also have the right to complain to your Member State data protection authority or UK data protection authority .
If you are located in Switzerland, you may contact the Federal Data Protection and Information Commissioner .
Withdrawing your consent: If we are relying on your consent to process your personal information, which may be express and/or implied consent depending on the applicable law, you have the right to withdraw your consent at any time. You can withdraw your consent at any time by contacting us by using the contact details provided in the section " HOW CAN YOU CONTACT US ABOUT THIS NOTICE? " below.
Upon your request to terminate your account, we will deactivate or delete your account and information from our active databases. However, we may retain some information in our files to prevent fraud, troubleshoot problems, assist with any investigations, enforce our legal terms and/or comply with applicable legal requirements.
Cookies and similar technologies: Most Web browsers are set to accept cookies by default. If you prefer, you can usually choose to set your browser to remove cookies and to reject cookies. If you choose to remove cookies or reject cookies, this could affect certain features or services of our Services.
If you have questions or comments about your privacy rights, you may email us at dh@code-optimizer.com .
California law requires us to let you know how we respond to web browser DNT signals. Because there currently is not an industry or legal standard for recognizing or honoring DNT signals, we do not respond to them at this time.
A. Identifiers
Contact details, such as real name, alias, postal address, telephone or mobile contact number, unique personal identifier, online identifier, Internet Protocol address, email address, and account name
YES
B. Personal information as defined in the California Customer Records statute
Name, contact information, education, employment, employment history, and financial information
C. Protected classification characteristics under state or federal law
Gender, age, date of birth, race and ethnicity, national origin, marital status, and other demographic data
NO
D. Commercial information
Transaction information, purchase history, financial details, and payment information
E. Biometric information
Fingerprints and voiceprints
F. Internet or other similar network activity
Browsing history, search history, online behavior, interest data, and interactions with our and other websites, applications, systems, and advertisements
G. Geolocation data
Device location
H. Audio, electronic, sensory, or similar information
Images and audio, video or call recordings created in connection with our business activities
I. Professional or employment-related information
Business contact details in order to provide you our Services at a business level or job title, work history, and professional qualifications if you apply for a job with us
J. Education Information
Student records and directory information
K. Inferences drawn from collected personal information
Inferences drawn from any of the collected personal information listed above to create a profile or summary about, for example, an individual’s preferences and characteristics
We may also collect other personal information outside of these categories through instances where you interact with us in person, online, or by phone or mail in the context of:
We will use and retain the collected personal information as needed to provide the Services or for:
Will your information be shared with anyone else?
We may disclose your personal information with our service providers pursuant to a written contract between us and each service provider. Learn more about how we disclose personal information to in the section, " WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION? "
We may use your personal information for our own business purposes, such as for undertaking internal research for technological development and demonstration. This is not considered to be "selling" of your personal information.
We have not disclosed, sold, or shared any personal information to third parties for a business or commercial purpose in the preceding twelve (12) months. We will not sell or share personal information in the future belonging to website visitors, users, and other consumers.
Depending upon the state where you live, you may also have the following rights:
We collect and process your personal information under the obligations and conditions set by Australia's Privacy Act 1988 and New Zealand's Privacy Act 2020 (Privacy Act).
This Privacy Notice satisfies the notice requirements defined in both Privacy Acts, in particular: what personal information we collect from you, from which sources, for which purposes, and other recipients of your personal information.
If you do not wish to provide the personal information necessary to fulfill their applicable purpose, it may affect our ability to provide our services, in particular:
At any time, you have the right to request access to or correction of your personal information. You can make such a request by contacting us by using the contact details provided in the section " HOW CAN YOU REVIEW, UPDATE, OR DELETE THE DATA WE COLLECT FROM YOU? "
If you are unsatisfied with the manner in which we address any complaint with regard to our processing of personal information, you can contact the office of the regulator, the details of which are:
The Information Regulator (South Africa)
General enquiries: enquiries@inforegulator.org.za
Complaints (complete POPIA/PAIA form 5): PAIAComplaints@inforegulator.org.za & POPIAComplaints@inforegulator.org.za
We may update this Privacy Notice from time to time. The updated version will be indicated by an updated "Revised" date at the top of this Privacy Notice. If we make material changes to this Privacy Notice, we may notify you either by prominently posting a notice of such changes or by directly sending you a notification. We encourage you to review this Privacy Notice frequently to be informed of how we are protecting your information.
Code Optimizer
55 Kisco Park Dr
Mount Kisco , NY 10549
United States
This Privacy Policy was created using Termly's Privacy Policy Generator
In Short: this varies by feature, and the distinction matters enough to spell out precisely.
/v1/format) processes submitted code server-side to return a formatted result but does not store the code itself — only a request count against your monthly usage limit.Every cookie this site sets, and why.
Last updated:
[bracketed] placeholders with your real
details.
This Cookie Policy explains how Code Optimizer ("we," "us," and "our") uses cookies and similar technologies when you visit code-optimizer.com ("the Website"). It covers what these technologies are, why we use them, and how you can control them.
Cookies are small data files placed on your computer or mobile device when you visit a website. They're widely used to make websites work, or work more efficiently.
Cookies set by the website you're visiting are called first-party cookies. Cookies set by anyone else are third-party cookies, and they're what allow an outside company to recognise your device across different websites — typically for advertising or analytics.
Every cookie this site sets is first-party. We use no third-party cookies at all.
Only for reasons that are technically required for the Website to work — what's usually called "essential" or "strictly necessary" cookies. We use no cookies for advertising, analytics, tracking, or profiling, and we don't allow anyone else to set cookies through our Website.
There are exactly two, both first-party, both strictly necessary:
co_sessionHttpOnly — unreadable by page
JavaScript, which protects it from certain attackscsrf_tokenBecause both cookies are strictly necessary, there's nothing to opt in or out of — without them you can't sign in or stay signed in, so we don't offer a cookie preference centre. There are no optional, advertising, or analytics cookies to reject.
You can still refuse or delete cookies through your browser, but doing so will prevent you from signing in to an account. The free formatter, which runs entirely in your browser, will keep working.
How to manage cookies varies by browser — check your browser's help menu, or see:
We don't use them. No web beacons, tracking pixels, clear gifs, fingerprinting, or session recording — on the Website or in the emails we send. The only emails we send are email verification and password resets, and they contain no tracking of any kind.
No. We don't serve advertising, we don't allow third parties to serve advertising through the Website, and no advertising network receives information about your visit.
Yes, but not via cookies. We use your browser's localStorage to remember small
preferences — for example, that you've dismissed the cookie notice. This never leaves your
device and is not sent to our servers.
We may update it to reflect changes to the cookies we use, or for operational, legal, or regulatory reasons. The date at the top shows when it was last updated.
If you have questions about our use of cookies, email dh@code-optimizer.com, or write to us at:
Code Optimizer
55 Kisco Park Dr
Mount Kisco, NY 10549
United States
Phone: +1 (914) 334-1574
For everything else we collect and why, see our Privacy Policy.
The rules for using Code Optimizer.
Last updated:
[bracketed] placeholders (legal
entity name, governing jurisdiction) before relying on it.
By creating an account or using Code Optimizer ("the Service"), you agree to these Terms of Service and our Privacy Policy. If you don't agree, please don't use the Service.
Code Optimizer is a code formatting tool. The Free tier formats code entirely in your browser for a set of supported languages. The Pro tier adds AI-powered rewriting, suggestions, and explanation features (which send your code to our servers and Google's Gemini API to generate a response — see the Privacy Policy), a private Snippet Vault, batch processing, and a programmatic API.
You agree not to:
We may suspend or terminate accounts that violate this section.
You own your code. We don't claim any ownership over anything you submit, format, or store in your Snippet Vault. You grant us only the limited, functional license needed to process your code for the specific feature you're using — formatting it, sending it to Google's Gemini API for an AI feature, or storing it because you saved it to your Vault. Don't submit code you don't have the rights to, or that contains someone else's confidential/proprietary information without authorization.
If you use the Snippet Vault's sharing feature, anyone with the link can view that snippet's code — don't share code you don't want publicly viewable that way.
AI Optimize, AI Suggestions, and AI Analysis are generated by a language model, not a deterministic compiler. They can be wrong, incomplete, or introduce subtle behavior changes, despite the prompt instructing the model to preserve behavior. Review AI-generated changes before relying on them, especially for anything behavior-critical — the same way you'd review any code before shipping it, AI-assisted or not.
We aim to keep the Service running reliably but don't guarantee uninterrupted availability. The free, client-side formatter keeps working even if our backend is temporarily down; sign-in, Vault, billing, AI features, and the API all depend on the backend and won't work during an outage. Check our status page for current, live-checked system status.
The Service is provided "as is" and "as available," without warranties of any kind, express or implied, including merchantability, fitness for a particular purpose, and non-infringement. We don't warrant that the Service will be error-free, that formatting or AI output will be perfect or bug-free, or that defects will be corrected.
To the maximum extent permitted by law, Code Optimizer won't be liable for any indirect, incidental, special, consequential, or punitive damages, or any loss of data, profits, or revenue, arising from your use of the Service — including reliance on AI-generated code changes. Our total liability for any claim relating to the Service is limited to the amount you paid us in the 12 months before the claim arose (or $0 if you were on the Free plan).
You can stop using the Service and delete your account at any time. We may suspend or terminate accounts that violate Section 5 (Acceptable use), or discontinue the Service, with notice where reasonably practical.
If we make material changes, we'll update the date at the top of this page. Continued use of the Service after a change means you accept the updated terms.
These terms are governed by the laws of [Your Jurisdiction], without regard to conflict-of-law principles.
Questions about these terms? Email dh@code-optimizer.com.
This site uses only strictly necessary cookies — to keep you signed in and to protect your account from forged requests. No advertising or tracking cookies, nothing to opt in or out of. See our Cookie Policy for the specifics.