All guides

How to Use Ollama in Your Browser Without Installing a Web UI

Chat with your local Ollama models in a Chrome or Firefox side panel and ask them about the page you are reading. No Docker, no account.

Updated November 18, 2026

Ollama runs AI models on your own computer, but out of the box you talk to them in a terminal. The usual next step is a web UI such as Open WebUI, which means Docker or a Python install, another server to keep running, and another tab to switch to. If you just want to chat with your models while you browse, Ollama Client is simpler: a browser extension that connects to the Ollama you already have and opens a chat next to the page.

How to chat with Ollama in Chrome or Firefox

  1. Make sure Ollama is running and has at least one model, for example ollama pull llama3.2.
  2. Allow browser extensions to connect to Ollama. This is a one-time setting, explained below.
  3. Install Ollama Client and click its icon.
  4. Choose Add Endpoint, keep the default address http://localhost:11434, and save.
  5. Pick a model and start typing.

Ollama Client in the browser side panel summarizing an article with a local model

Allow the extension to reach Ollama

Ollama only answers web requests from origins it trusts, and browser extensions are not on that list by default. Add them with the OLLAMA_ORIGINS environment variable, then restart Ollama.

If you start Ollama from a terminal:

OLLAMA_ORIGINS="chrome-extension://*,moz-extension://*" ollama serve

If Ollama runs as an app or a service:

  • macOS: run launchctl setenv OLLAMA_ORIGINS "chrome-extension://*,moz-extension://*", then quit and reopen Ollama.
  • Linux: run sudo systemctl edit ollama.service, add Environment="OLLAMA_ORIGINS=chrome-extension://*,moz-extension://*" under [Service], then run sudo systemctl daemon-reload and sudo systemctl restart ollama.
  • Windows: quit Ollama, add a user environment variable named OLLAMA_ORIGINS with the value chrome-extension://*,moz-extension://*, then start Ollama again.

The Ollama FAQ has more details.

Ask about the page you are reading

Open Ollama Client in the side panel and it stays next to the page while you browse. Turn on Include page and the text of the current tab goes along with your message, so you can ask for the main points, a translation, or an explanation of some code. Summarize and Explain are one click away, and you can save your own prompts as commands. You can also attach images for vision models, or text, CSV, Markdown and code files.

FAQ

Is it private?

Yes. Your messages and the page text go only to your Ollama server, and your chat history is stored in your browser. No cloud service is involved.

Can I connect to Ollama on another computer?

Yes. On that computer, set OLLAMA_HOST=0.0.0.0 so Ollama accepts connections from your network, and set OLLAMA_ORIGINS as above. Then add its address, such as http://192.168.1.20:11434, as a new endpoint. You can keep several endpoints and switch between them.

Does it work with LM Studio or OpenAI?

Yes. Add an OpenAI-compatible endpoint with the server's base URL, which usually ends in /v1, and an API key if the server needs one.

Is it free?

Yes. Ollama Client is free and open source, with no account and no subscription.