You can't take a file back once an AI tool has read it. That's why the safest way to prepare a codebase for AI is to never upload your working folder at all. You build a sharing copy for one task and remove what the reviewer doesn't need.
To see what slips through, we zipped a small synthetic project with fake keys, a log, a customer export and the usual clutter, then ran it through LLMiser's own archive code. Its name-based rules caught the obvious files. A renamed config, a log and an old backup still landed in the output.

Start with a sharing copy, not your working folder

A sharing copy is a fresh folder that holds only what one task needs. You build it by copying, removing and checking, so your real project, its history and your local files never leave your machine.
Name the task first, because it decides what stays. Ours was "fix the rounding bug in invoice totals." Compare our synthetic invoice-tool project before and after cleanup.
Bundle tested locallyZIP entriesConverted in MarkdownSecret / ID hitsConverted words
Unfiltered original folder35219 lines484 words
Task-focused sharing copy13120 lines289 words
Notice the two layers: 13 ZIP entries (including .env.example) versus 12 converted files, since .env.example matched LLMiser's credential-name filter. Don't rely on .gitignore for a sharing copy: Git's documentation notes that a gitignore file specifies intentionally untracked files, leaving tracked secrets exposed. Meanwhile, git archive exports one selected commit or tree snapshot rather than history. Older deleted secrets stay out, though any tracked secret still in that commit comes along unless excluded with .gitattributes export-ignore.
The seven removals, each with the file that represented it in our synthetic test project. Illustration.
Designing a full ingestion flow instead of a one-off review? Our document to LLM pipeline guide covers that bigger picture.

1. Secrets and local credentials

Remove every file that holds a password, token or key, including copies with unusual names. Treat any credential that reaches an AI tool as exposed. The only reliable fix after that is to replace it.
The usual suspects are .env files, private keys, cloud credential files and a token pasted into a Git remote URL. LLMiser's ZIP mode lists files named like credentials, such as .env, private keys and credentials.json, without reading them. It never converts the .git folder either.
That rule looks at names, not contents. In our test, config/settings.local.yaml held the same fake payment key as .env, and it went straight into the Markdown. The same rule also skipped .env.example, so list your variable names in the README if the reviewer needs them.
If a real secret was ever shared, rotate it before anything else. GitHub's guidance on removing sensitive data says the first step is to revoke or rotate the secret, because a rotated secret can no longer be used.

2. Private data and identifying logs

Take out logs, data exports and screenshots that identify people. They rarely help with a code question, and they carry exactly the details you'd never paste into a chat on purpose, like names, email addresses and IP addresses.
Our fixture had three of them. The log held two customer email addresses and an IP address, and a CSV export listed names, emails and cities. LLMiser converted both, the CSV into a tidy Markdown table.
Screenshots are the sneaky one. When you upload a ZIP to LLMiser, images inside it go through text recognition, up to 50 per archive. We ran the fake checkout screenshot through LLMiser's text recognition code on its own, and it returned the customer's name, email address and invoice total as plain text.
If the bug depends on data, write a tiny synthetic sample instead. LLMiser's privacy policy asks the same thing: documents can contain personal data about other people, so upload only what you need converted.

3. Installed dependency directories

Remove node_modules, virtual environments and vendored package folders, but keep the manifests and lockfiles that describe them. The reviewer needs to know which versions you run, not read the source of every package.
Installed packages often reach thousands of files. LLMiser lists folders like node_modules, .venv, venv and vendor in its index without converting them, yet they still count toward the 15 MB and 2,000-file ZIP cap.
Keep package.json, pyproject.toml and lockfiles so versions like left-pad and babel stay visible. Need help with a patched vendored library? Because LLMiser skips folders named vendor, node_modules, .venv or venv anywhere in a path, move that patch or source outside those directory names and verify it in combined Markdown.

4. Generated build output

Delete build folders, compiled bundles and packaged releases from the copy. They're produced from your source, so they add size without adding information, and a stale build can contradict the code you're asking about.
Think dist, build, out, target, bin and obj. Our fixture's build/lib folder held an older generated copy of the totals module, the kind of file that sends a reviewer chasing a bug you already fixed. LLMiser skipped it because it sat under build.
Watch the reverse case too. These rules match folder names anywhere in the path, so a real source folder called bin, out or env gets skipped as well. Rename it in the copy or confirm the gap is deliberate.

5. Caches and temporary files

Clear tool caches, test artifacts and scratch notes first. Caches are noise, and scratch notes often hold pasted test keys or customer emails.
LLMiser skipped __pycache__ and .pytest_cache by folder name. It converted tmp/debug-notes.txt, including a fake key and email, because files under tmp look like normal text. Sweep swap files, .DS_Store and coverage reports while cleaning up.

6. Irrelevant large binaries

Leave out videos, datasets, archives and design files unless the task needs them. They can't be read as code and still consume upload limits.
LLMiser skipped our fake screen recording as binary, yet it still counted toward the 15 MB upload cap. Conversion also stops past 100 MB of unpacked data, and ZIP images go through text recognition, so keep only screenshots that show the bug.

7. Duplicate or obsolete copies

Keep one clean version of every source file. Old copies, "(copy)" files and backup archives leave an AI model guessing which code is actually current.
Our fixture had totals_old.py, totals (copy).py and a backup ZIP. LLMiser converted both copies and opened one nested ZIP level, pulling in settings.old.yaml with an older fake key. Delete extras and note key history in the README instead.

Check the copy before you send it

Removal is a judgment call, so finish with a check rather than a hope. Run the tests in the copy, search it for secrets, then read the conversion's skipped list to confirm every gap is one you meant.
Keeping a file isn't the end of the review. Kept config can still hold a secret. Illustration.
Run the tests inside the copy first. Ours failed for the right reason, the rounding bug, which proved the copy had everything needed to reproduce it. Then search the copy for words like key, token, password and secret, and for the @ of an email address.
After converting, open the project index. Its skipped-and-failed table shows every file LLMiser listed but didn't convert, and why. Each entry should be one you expected.
Local run of LLMiser's archive code on a synthetic project, 8 November 2026. All keys and addresses are fake.
In this small synthetic project, removing unneeded clutter cut the output from 484 words to 289 and eliminated all four fake credential lines, two customer rows and three email lines. Real projects vary, so check your own sharing ZIP and its index.
A final pass before you send the copy anywhere. Illustration.
LLMiser's use cases cover where conversion helps and where it doesn't. The review stays yours.

Frequently Asked Questions

Does LLMiser remove secrets from my code automatically?

No. Its ZIP mode skips files named like credentials, such as .env files and private keys, and never converts the .git folder. It doesn't scan the contents of other files, so a key inside a renamed config or a note still gets converted.

Isn't .gitignore enough to keep secrets out?

No. It tells Git which untracked files to ignore. It doesn't affect tracked files or a ZIP you build from the folder.

Should I remove tests before I share code with AI?

Keep the tests that cover the code you're asking about. A failing test is often the clearest description of a bug, and it lets the reviewer check a fix. Drop unrelated suites and fixtures with real data.

Should I keep lockfiles in a sharing copy?

Usually yes. A lockfile pins the exact versions you run, which matters when a bug depends on a library's behavior. It's text, so it's cheap compared with the installed packages it describes.

What should I do if I already shared a real API key?

Revoke or rotate it first, then clean up. GitHub's guidance puts rotation first because a rotated secret can no longer be used. Deleting the chat afterwards doesn't undo the exposure.

How large can a project ZIP be in LLMiser?

An uploaded ZIP can be up to 15 MB and hold at most 2,000 files. LLMiser converts up to 100 MB of unpacked content, opens one level of nested ZIP files and reads text from up to 50 images per archive. Entries past those limits are listed with a reason instead of converted.
When your sharing copy is ready, convert the ZIP with LLMiser and read the skipped list before you paste anything.