---
title: "What Is a Proxy List? Formats and Importing Into Tools"
description: "A proxy list is a text file with one proxy per line, such as ip:port:user:pass. The four common formats, how to convert them and how to import them into tools."
url: https://proxynet.io/blog/what-is-a-proxy-list
date: 2026-11-23
author: "Acar Diveroli"
category: "Proxies"
lang: en
---

# What Is a Proxy List? Formats and Importing Into Tools

You ordered ten static proxies. The panel gives you a text file with ten lines that look like `203.0.113.10:8080:user1:pa55word`. You paste the first line after `curl -x` and get an "Unsupported proxy syntax" error. The browser's proxy settings offer an address field and a port field, but nowhere to type a password. Nothing is wrong with the proxies. The list is written in one format, and each tool reads another.

This post explains what a proxy list is, the four formats you will meet, how to convert and import a list, how a static list differs from a list built on one gateway, and why public "free proxy lists" are a different thing.

> **Note: Short answer**
>
> A proxy list is a plain text file with one proxy per line. Each line holds what a program needs to connect: an address and a port, and often a username, a password and the protocol. There is no single standard, so the same proxy may be written as `host:port`, `host:port:user:pass`, `user:pass@host:port` or as a URL. Check which form your tool expects before you import, and treat the file like a password file.

## What is a proxy list?

A proxy list is a set of proxy connection details written one per line, so that a person or a program can read many of them at once. It is usually a `.txt` file, sometimes CSV or JSON, and sometimes only text copied from a panel.

A line carries up to five pieces of information: the host (an IP address or a hostname), the port, a username, a password and the scheme, which names the protocol, such as `http://` or `socks5://`. A program needs at least the first two.

The username and password are optional in the line, not in the service. A paid proxy always checks who is connecting. With an IP whitelist, the list of your own IP addresses that you register with the provider, the proxy recognises you by where the connection comes from, and the lines hold only `host:port`. Otherwise both credentials sit in every line. The two methods are compared in [Proxy Authentication: User:Pass vs IP Whitelist](/blog/proxy-authentication-methods).

The same two words are also used for public "free proxy lists": addresses of open servers that someone collected and published. They look the same on screen and are a very different thing, covered near the end. The `203.0.113.x` addresses in our examples come from the blocks that [RFC 5737](https://www.rfc-editor.org/rfc/rfc5737) reserves for documentation; they belong to no real server.

## Which proxy list formats will you meet?

You will meet four formats again and again: two plain colon lists and two URL-style forms.

| Format | Example | Where you meet it |
|---|---|---|
| `host:port` | `203.0.113.10:8080` | IP whitelist setups, browser settings |
| `host:port:user:pass` | `203.0.113.10:8080:user1:pa55word` | Panel exports, bulk import boxes |
| `user:pass@host:port` | `user1:pa55word@203.0.113.10:8080` | Command-line tools |
| URL with a scheme | `http://user1:pa55word@203.0.113.10:8080` | Code, config files |

The colon list `host:port:user:pass` is a habit, not a standard. It is easy to paste and to split in a spreadsheet, so many tools accept it, but you will also meet `user:pass:host:port` and comma-separated variants. Nothing in the line says which order was used.

The URL form is the only one with a formal definition. [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1) describes the part after `//` as optional user information, an `@`, the host and an optional port. The same section calls `user:password` inside a URL deprecated and tells applications not to display the part after the colon as clear text; read that as a reason to handle such lines as secrets. The scheme at the front also settles a question the other forms leave open: whether the port speaks HTTP or SOCKS5.

## Why does the same list work in one tool and fail in another?

The same list fails in a second tool because that tool expects a different field order, a different default protocol or encoded special characters. The proxy behind the line is the same.

curl is a good example of a strict reader. Its manual gives the proxy syntax as `[protocol://]host[:port]`, treats a string without a protocol as an HTTP proxy and assumes port 1080 when none is given, as the [curl man page](https://curl.se/docs/manpage.html#-x) describes. A four-field colon line fits none of that.

Special characters are the second trap. In a URL, `@`, `:` and `/` separate the parts, so a password that contains one of them must be percent-encoded: `@` becomes `%40` and `:` becomes `%3A`. An IPv6 address, which is full of colons, goes inside square brackets.

On our test machine we started a local proxy on `127.0.0.1` that forwards nothing and only prints the credentials it receives, then pointed curl 8.23 at it. The line `http://user3:p%40ss@127.0.0.1:PORT` reached the proxy as `user3:p@ss`: curl decoded the password. The same line with a raw `@` stopped before connecting, with error 5 and the note "Bad hostname". A colon line stopped with this message:

```text
curl: (5) Unsupported proxy syntax in '127.0.0.1:9:user1:pa55word': Port number was not a decimal number between 0 and 65535
```

## How do you convert a proxy list to another format?

You convert a list by splitting each line into host, port, username and password and writing them back in the order the tool wants. For a clean four-field list, one line of awk is enough:

```bash
awk -F: 'NF==4 {print "http://" $3 ":" $4 "@" $1 ":" $2}' proxies.txt > proxies-url.txt
```

In our test file this converted the clean line, silently skipped a line whose password contained a colon, and broke a `socks5://` line, which also splits into four fields. For mixed lists, a short Python script that looks at the shape of each line first is more reliable:

```python
import sys
from urllib.parse import quote

def to_url(line, scheme="http"):
    line = line.strip()
    if "://" in line:                      # already a URL
        return line
    if "@" in line:                        # user:pass@host:port
        return f"{scheme}://{line}"
    parts = line.split(":", 3)             # host:port or host:port:user:pass
    if len(parts) == 2:
        return f"{scheme}://{line}"
    host, port, user, password = parts     # a line with three fields stops here
    return f"{scheme}://{quote(user, safe='')}:{quote(password, safe='')}@{host}:{port}"

for line in open(sys.argv[1], encoding="utf-8"):
    if line.strip():
        print(to_url(line))
```

The script reads a local file and opens no connection. It keeps colons inside a password, percent-encodes the credentials and stops on a line it does not recognise. On our six sample lines in mixed formats, every line came out as a valid proxy URL. Do not use online "proxy list formatter" pages for this job: pasting the list there hands your credentials to a stranger.

## Is every line in a proxy list a different IP?

Not always. In a list of static proxies every line is a different IP address; in a list built on a gateway every line is a different session on the same hostname.

A static list has a separate address on each line, and it stays the same for as long as you rent it:

```text
203.0.113.10:8080:user1:pa55word
203.0.113.11:8080:user1:pa55word
203.0.113.12:8080:user1:pa55word
```

A gateway list repeats one hostname. The lines differ in the port or in a session label inside the username, and the gateway maps each of them to an exit IP from its pool:

```text
gw.example.com:8000:user1-session-a1:pa55word
gw.example.com:8000:user1-session-a2:pa55word
gw.example.com:8000:user1-session-a3:pa55word
```

The label syntax differs at every provider, so take it from your own panel. A gateway line is a sticky session, a period during which you stay on one exit IP; when it ends, the same line leads to a different address. A hundred gateway lines are not a hundred fixed IPs.

Our [Residential Proxy](https://proxynet.io/residential-proxy) and mobile proxies are the gateway kind: one endpoint over HTTP, HTTPS or SOCKS5, country and city targeting, and rotating or sticky sessions of 1-60 minutes.

Our static ISP and [Datacenter Proxy](https://proxynet.io/datacenter-proxy) products are sold per IP, so you receive a real list with one dedicated address per line; our API returns it as JSON with the host, port, credentials and exit IP of each proxy. These per-IP products are delivered for the target site named in the order, and use on every site is the paid add-on "Access to all websites".

## How do you export a proxy list from a provider panel?

You export a list by choosing the authentication method, the protocol and the line format, then copying or downloading the result. Panels differ in layout; the decisions are the same.

1. **Authentication.** A username and password puts credentials in every line; with an IP whitelist the lines carry only host and port. On our network a whitelist holds up to 10 IPs.
2. **Protocol.** HTTP and SOCKS5 often listen on different ports, so the port in the list depends on this choice.
3. **Format.** Pick the order your tool documents if the panel offers a choice; otherwise export what there is and convert it.
4. **Copy or download.** The usual result is a `.txt` file, or JSON from an API. Note the protocol in the file name and store the file as a secret.

## How do you import a proxy list into your tools?

You import a list by giving each tool the form it reads; no tool reads all of them.

| Tool | What it takes | Credentials |
|---|---|---|
| Browser or system settings | One proxy: address and port | Login prompt or IP whitelist |
| Multi-profile browsers | Pasted list, one per line | Inside each line |
| curl | One proxy per call | In the URL or with `-U` |
| Code, environment variables | URL with a scheme | Read from a secret store |

### Browsers and operating systems

A browser or an operating system takes one proxy at a time, as an address and a port; it does not import a list. Chrome's network documentation says the browser [will not use credentials embedded in the proxy settings](https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md) and supports no authentication method for SOCKS5. So you type the host and port, the browser asks for the username and password when an HTTP proxy requests them, and a SOCKS5 proxy in Chrome needs an IP whitelist. To switch between lines, people save each one as a profile in a proxy manager extension.

### Multi-profile and antidetect browsers

An antidetect browser keeps separate browser profiles, each with its own cookies and settings, for teams that manage several client or store accounts. You paste the list with one proxy per line, the tool creates one entry per line, and you assign the entries to profiles. Each tool documents the order it expects, so import two lines first and run the tool's connection check. For account work, keep one static line per profile, so that each account always signs in from the same address, within the platform's terms.

### curl and code

curl takes one proxy per call with `-x`, and HTTP libraries and the `HTTPS_PROXY` environment variable expect the same URL form. Read the list from a file or a secret store, never from the source code.

## How do you check that every line in a list works?

You check a list by sending one small request through each line and looking at what comes back. This is what a "proxy list checker" does, and a curl loop over a list in URL form is the smallest version of one:

```bash
n=0
while read -r proxy; do
  n=$((n+1))
  echo "$n: $(curl -s --max-time 10 -x "$proxy" https://api.ipify.org || echo failed)"
done < proxies-url.txt
```

Each output line is the line number and the IP address the test service saw, or `failed`; the credentials never appear on screen. In our local test with one dead line in the file, that line printed `failed` and the others answered. Do not paste a list with credentials into an online checker, because the page receives every username and password. For location, speed and leak checks, follow [Is My Proxy Working? How to Test a Proxy](/blog/how-to-test-a-proxy).

## How do you keep a proxy list safe?

Treat a proxy list as a password file: anyone who has it can use your proxies, and the usage is charged to your balance.

- Keep it out of code repositories; add it to `.gitignore` before the first commit.
- Share it through a password manager, not as plain text in chat or e-mail.
- From a fixed IP address, use an IP whitelist, so that the list holds no password.
- On shared machines, do not type credentials as command-line arguments; curl's manual recommends reading them from a file.
- If a list leaks, change the proxy password and export a new list.

## Why are public free proxy lists risky?

Public free proxy lists are risky because nobody on the list has an agreement with you: you do not know who runs each server, why it is open or what it does with your traffic. These are the pages and repositories that publish thousands of `ip:port` lines, sorted by country or protocol.

Whoever operates a server in the middle can read and change anything sent without encryption, and can log which sites you visit even when the content is encrypted. The addresses stop working quickly and are used by everyone at once. We name no such list here; the risks and the research behind them are in [Are Free Proxies and Web Proxy Sites Safe?](/blog/are-free-proxies-safe).

## Where you meet proxy lists

A marketplace team loads a static list into a multi-profile browser, one address per client account. A QA team keeps one line per country to check how prices and payment options appear to local visitors. A developer puts five static lines in front of an API that accepts only allowlisted addresses. An ad verification team works through gateway sessions to see one placement from several cities.

## Common mistakes

1. **Pasting a colon list where a URL is expected.** The proxy is fine; the syntax is not.
2. **Leaving out the protocol.** A SOCKS5 port in an HTTP field looks exactly like a dead proxy.
3. **Raw special characters in a URL.** Encode `@`, `:` and `/` in the password.
4. **Treating gateway lines as fixed IPs.** Each line is a session whose exit IP changes.
5. **Importing hundreds of lines before testing two.** One wrong field order repeats on every line.

## Decision guide

| Need | Recommendation |
|---|---|
| A proxy in a browser for one task | One line: host and port, credentials at the prompt |
| Several accounts in a multi-profile browser | Static list, one line per profile |
| Scripts and command-line tools | URL form with a scheme |
| A server with a fixed IP address | IP whitelist and a `host:port` list |
| Many public pages across countries | One gateway endpoint, not a long list |
| A list found on a public page | Do not use it for anything that matters |

## Frequently asked questions

### What is a proxy list used for?

A proxy list is used to load many proxies into a tool in one step. Instead of typing each address, port, username and password by hand, you paste or import the list, and the tool creates one proxy entry per line.

### What does ip:port:user:pass mean?

It is the order of the four fields in a line: the proxy's IP address, its port, your username and your password, separated by colons. The line does not say whether the port speaks HTTP or SOCKS5, so check that in your panel.

### What is a proxy list txt file?

It is a plain text file with one proxy per line and nothing else: no header row, no quotes, no empty columns. Almost every tool that imports proxies reads it. Edit it in a plain text editor, not in a word processor.

### How do I use a proxy list in Chrome?

Chrome uses one proxy at a time and does not import lists. Enter the host and port of one line in the proxy settings, and type the username and password when the browser asks. To switch between lines, save each one as a profile in a proxy manager extension.

### What is a proxy list checker?

A proxy list checker sends a test request through every line and reports which lines answer, which exit IP each one shows and how fast it responds. A short curl loop on your own machine does the same without sharing your credentials.

### Is a free proxy list safe to use?

No, not for anything that involves a password, a payment or personal data. You do not know who operates the servers on a public list, and the operator can read unencrypted traffic and log the sites you visit.

## Summary

A proxy list is a text file with one proxy per line: host and port, usually a username and password, sometimes the protocol. Tools do not agree on one form, so check the expected order, encode special characters in URLs, test two lines before importing the rest and keep the file as carefully as a password. A static list gives you fixed addresses; a gateway gives you sessions on one endpoint. To see which of our products come as a per-IP list and which as a single gateway, start from our [proxy services](/proxy).
