Open-source · Local-first · Bring your own key

The Private Workspace for Your AI Prompts.

LocalPrompts is a free, open-source AI prompt library for managing, organizing, and refining your prompts. Everything is stored locally on your device for 100% privacy.

100% Local Storage MIT Licensed No Login Needed

What it does

One app, four jobs done well

Manage & Edit

Write and tweak your prompts in a fast, distraction-free editor and save your prompts to your local browser storage.

Organize & Tag

Group prompts into collections and tag them by project, model, or purpose. Find what you need in seconds with instant local search.

Import & Export

Move your prompt library freely. Export your data to a JSON file, import from existing saves, and keep full ownership of your data at all times.

AI Refinement

Paste in your Google Gemini API key and ask LocalPrompts to tighten, restructure, or convert a prompt — all processed via your key, never ours.

Powered by your own key

AI-powered prompt refinement, on your terms

LocalPrompts never holds an API key on a server. When you ask for AI-assisted refinement, your request goes straight from your browser to Google's Gemini 3.1 Flash Lite endpoint using the key you provide. We never see your prompts, your key, or the responses you get back.

  • Bring your own free or paid Gemini API key
  • Requests sent directly, never proxied through LocalPrompts servers
  • Revoke access any time from your Google AI Studio dashboard

Simulated demo

Questions

Frequently asked questions

Is my data really stored only on my device?

Yes. LocalPrompts stores every prompt, tag, and collection locally on your machine. There is no account system and no remote database. Clearing your local browser storage removes your data unless you've exported it.

Do I need an API key to use LocalPrompts?

No. Managing, editing, organizing, and exporting prompts works fully offline with no key required. An API key is only needed for the optional AI refinement feature.

Which AI model does the refinement feature use?

LocalPrompts integrates with Google's Gemini 3.1 Flash Lite. You supply your own API key from Google AI Studio, and requests are sent directly from your browser to Google.

Can I self-host or audit the code?

Absolutely. LocalPrompts is fully open source under the MIT License. Clone the repository, read every line, and run it however you like.

Is LocalPrompts free?

Yes, the app itself is free and open source. The only potential cost is usage of your own Gemini API key, billed directly by Google according to their pricing.

Open source, start to finish

LocalPrompts is released under the MIT License. Read the code, fork it, modify it, or ship it inside your own project — there are no hidden terms and no telemetry to strip out.

View the repository