A terminal can be a useful place to read documentation or simple web pages on a Linux system. A text-based browser opens pages in a terminal and lets you move through their content with the keyboard.
This guide compares five options and explains which site requirements and terminal limits to check before choosing.
TL;DR
Choose Lynx for text-first pages. Browsh uses Firefox, while Links, w3m, and ELinks offer alternative terminal workflows.
| Browser | Good fit | Check first |
|---|---|---|
| Lynx | Text-only navigation and low overhead | Sites relying on JavaScript |
| Browsh | Modern page rendering in a terminal | Firefox dependency and higher resource needs |
| Links/Links2 | Keyboard browsing with optional graphics mode | Graphics mode needs a supported display setup |
| w3m | Terminal browsing and local document viewing | Inline images depend on build and terminal support |
| ELinks | Text browsing with configurable features | Package and project availability vary by distro |
What Is a Text-Based Web Browser?
A text-based web browser lets you visit pages from a terminal, presenting content as text with keyboard navigation instead of a conventional graphical window. The phrase covers several rendering models, so it does not by itself tell you whether a given site will work.
Traditional options such as Lynx interpret page structure and expose links and forms through text. Browsh instead connects its terminal client to Firefox running in headless mode, then represents the rendered page in the terminal. Headless means Firefox runs without its usual visible browser window.
The rendering model determines whether modern site code runs. Firefox is a browser engine that interprets page code. Text-focused engines emphasize text, links, and forms.
A terminal browser can run locally or on a remote host. With SSH, the command executes on the server you logged in to, while the terminal sends keystrokes and displays text. This distinction affects which machine needs the browser package and which network can reach the page.
Top Text-Based Web Browsers for Linux
The right choice depends on the page and the terminal you use. These five options cover a useful range, from traditional text rendering to a terminal front end for Firefox.
1. Lynx: Best for Text-First Browsing
Lynx is a long-running text browser that turns a page into readable text and navigable links. Use it when the content is primarily words and hyperlinks, such as documentation or simple articles.
In Lynx, keyboard navigation moves between page controls rather than relying on pointer coordinates. This can suit a narrow terminal where mouse events do not reach the program. The user guide also describes configuration options for link highlighting and forms.
Its keyboard-driven interface is a practical fit for a remote shell because it does not require a graphical browser window. You can start a page by passing its address to the command, then move through links and activate the selected one with the keyboard. The project’s user guide documents its navigation and configuration options.
Lynx does not execute JavaScript, so pages that build their content in the browser may appear incomplete or hide their main interaction. It can also replace images with alternate text, which makes it a better fit for reading than visually guided tasks.
It may also show alternate text in place of images. Choose Lynx for text access when the page does not need a full browser engine.
2. Browsh: Best for Firefox-Rendered Pages in a Terminal
Browsh presents a Firefox-rendered page in a terminal interface. Consider it when a site depends on JavaScript that text-oriented browsers do not execute.
The project documents a Firefox dependency and says its terminal and browser clients do not have feature parity. As a result, some Firefox features and site interactions may be unavailable through the terminal client.
Choose Browsh when the site needs a modern rendering engine and you can run Firefox on the machine or remote host. For a very constrained system, a traditional text engine may use fewer resources because Browsh carries a full browser engine dependency. Check the project’s current installation instructions and release support before using an old package command copied from a tutorial.
For a dedicated setup walkthrough, see how to use the Browsh browser on Linux. The project source is the better place to confirm its current Firefox requirements and release assets.
3. Links and Links2: Best for Text with an Optional Graphics Mode
Links is a keyboard-oriented browser with a text mode, and Links2 adds a graphics mode on supported systems. The project documentation describes using the -g option to enter graphics mode under X. That gives Links2 a broader role than a text-only browser, though graphics mode depends on the display environment and build.
Pick Links when you want a simple terminal browser and Links2 when you may also want its graphics display mode on a machine with a compatible graphical session. On a headless SSH server, expect to use its text interface rather than assuming the graphics option will work remotely.
Some roundup pages attribute limited CSS or JavaScript features to Links. Those claims can vary by version and build, so check the documentation and package description for your distribution before relying on a particular site feature. Treat it as an option to test against the page you need, not as equivalent to a full modern browser.
Links and Links2 are closely named but their available modes depend on the specific program and build. Check the executable name and its local manual page before copying a command or option. A text-mode session can be a good fit for SSH even when the same package offers a graphics mode on a desktop.
4. w3m: Best for a Terminal Browser and Pager
w3m works as a text-based web browser and as a pager for viewing local documents. Its manual describes browsing local or remote pages in a terminal. This makes it a useful choice when one interface should cover simple web pages and text documents.
w3m can display images in some configurations, but image display depends on the build and terminal environment. An image-enabled package will not show images in every terminal or SSH session. If images matter, check the package options and the terminal’s supported image protocol.
Choose w3m for text-heavy browsing, document viewing, or a terminal workflow where its pager behavior is useful. If your task needs interactive JavaScript or a complex sign-in flow, use a graphical browser or evaluate Browsh against the exact site instead.
Image display is a separate feature from page rendering. Some terminals support only text and color, while others display images through a compatible protocol or helper. If a document’s diagrams carry information that its alternative text does not, open it in a suitable graphical browser rather than treating a missing image as a rendering failure.
5. ELinks: Best for Configurable Text Browsing
ELinks is a text-mode browser descended from Links, with configuration and navigation features that appeal to terminal users. A historical comparison reported differences in color and page presentation. Its tested versions are old, so treat those observations as examples rather than a current benchmark.
Consider ELinks if it is available in your distribution and you want to tune a text browser for your terminal workflow. The package name and maintenance status can vary across distributions, so verify availability in your own package source rather than following a command written for another system.
Its text-oriented rendering has the same broad limitation as other traditional terminal browsers: a page whose useful content appears only after client-side scripts run may not behave as intended. Choose based on the actual page you need to access rather than an old feature list.
ELinks and Links are separate programs, despite the related name. Before installing it, confirm which package your distribution provides and whether that project is maintained for the release you use. If your repository does not offer it, prefer an actively documented alternative over downloading an unknown binary.
Limits to Check Before You Choose
Check the website’s rendering requirements and your terminal setup before choosing. A text interface changes how you view a page, but its dependencies and access controls still apply.
| Requirement | What can happen | Next check |
|---|---|---|
| JavaScript-built content | Links or page sections may be missing in traditional text engines | Try a Firefox-backed option or a graphical browser |
| Sign-in, CAPTCHA, or multi-step forms | Controls may not render or submit correctly | Use the service’s supported browser and authentication flow |
| Images or visual layout | Images may become alt text or may not display | Check browser build and terminal image support |
| SSH access | Browser runs on the remote host, not necessarily your local computer | Check remote connectivity, resources, and session behavior |
| Untrusted web content | Browser vulnerabilities and downloads remain relevant | Keep software maintained and avoid unsafe downloads |
A page that fails in Lynx may still be online. Its content may depend on scripts, or it may require a cookie or form interaction that Lynx cannot complete. Identify what failed before switching browsers.
CAPTCHAs, passkeys, and multi-step sign-in flows are designed around specific browser controls. A terminal browser can expose a form without supporting the interaction the service expects. Use the service’s supported browser for account access, payments, or security-sensitive steps rather than repeatedly retrying in a client that cannot complete them.
Cookie handling differs by project and can be configurable. Some sites need cookies to keep a session between pages, so check the browser’s documentation before signing in. On a shared system, also consider where a browser stores session data and who can read those files.
Remote browsing also changes where traffic originates. If you connect to a browser on a server over SSH, the server fetches the site and your terminal displays the result. This can help when the remote machine has the network access you need, but it does not automatically make the session private or reduce all network traffic.
For a lightweight reading task, begin with Lynx or w3m. For pages whose scripts matter, test Browsh or open the page in a graphical browser.
For a choice between text and display modes, check Links2 and the available display environment. The terminal Wikipedia reading guide covers one text-oriented use case.
Package names and repository status differ by Linux distribution. Start with your distribution’s package search or its official project instructions.
If you need package-manager basics first, see the guides to apt and Linux package management. Check that the upstream release page still lists a version-pinned download before using it.
Conclusion: Match the Browser to the Site
Lynx, Links, w3m, and ELinks suit text-first terminal work, while Browsh brings Firefox rendering to a terminal interface. Site requirements should decide your choice because no option guarantees that every login or form will work.
For another command-line workflow, read the guide to using the Linux command line. Before installing a browser, confirm its supported package and dependencies with the project and your distribution.
FAQ
These answers summarize the compatibility and selection questions that matter when browsing from a terminal.
Which text-based browser supports JavaScript?
Browsh uses Firefox for page rendering, so it is the option here designed around a modern browser engine. Traditional options such as Lynx do not execute JavaScript. Site behavior can still vary, and Browsh is not a guarantee that every interaction works.
Which terminal browser should I choose for SSH?
For text-heavy pages, start with Lynx or w3m. If a site needs JavaScript, consider Browsh if Firefox can run on the remote host. Check resource needs and remote access before relying on it.
Can text-based browsers display images?
Some options can show images in particular builds or terminal setups, and Browsh represents Firefox-rendered output in a terminal. Image support depends on the browser, build, and terminal. Do not assume every SSH session can display images.
