
Proxy converter input rules
The proxy converter reads ip:port, ip:port:user:pass, user:pass@ip:port, user:pass:ip:port and URLs with a scheme such as http://, https://, socks4://, socks5:// or socks5h://. A host name works in place of an IP, and an IPv6 address goes in square brackets.
You can separate proxies with new lines, spaces, commas or semicolons. The converter checks the host and port of each entry: an IPv4 address needs four numbers from 0 to 255, a host name needs a letter domain ending such as .com, and the port has to fall between 1 and 65535. Entries that fail go to the Broken lines box under the result. The box shows up to 50 of them, so you can find each one in the source list and fix it.
Remove duplicates compares host, port, login and password and ignores the scheme. The converter keeps the first copy, so for http://203.0.113.10:8080 followed by socks5://203.0.113.10:8080 you get the http line and the socks5 one counts as a duplicate. Sort puts IPv4 addresses first in numeric order. Host names and IPv6 addresses follow in character order, and proxies on the same host line up by port.
Proxy formats with examples
- ip:port, the bare format for proxies that authorize you by IP: 203.0.113.10:8080
- ip:port:user:pass, the usual provider export: 203.0.113.10:8080:alice:s3cret
- user:pass@ip:port, with the login in front: alice:s3cret@203.0.113.10:8080
- user:pass:ip:port, the same order with a colon in place of the @: alice:s3cret:203.0.113.10:8080
- Proxy URL with a scheme: socks5h://alice:s3cret@203.0.113.10:1080
- IPv6 in square brackets: [2001:db8::10]:8080, or [2001:db8::10]:8080:alice:s3cret with a login
- JSON: an array of objects with protocol, host and port, plus username and password for proxies with a login
- CSV: a header row protocol;host;port;username;password, then one proxy per line split by semicolons
Proxy URL format: scheme, login, host and port
A proxy URL follows the pattern scheme://user:pass@host:port, for example socks5h://alice:s3cret@203.0.113.10:1080. Your program reads the scheme to pick the protocol it speaks to the proxy. The login and password sit before the @ sign with a colon between them, and the host and port follow it. Without a login the URL shrinks to http://203.0.113.10:8080. The converter gives http:// to lines that had no scheme unless you pick another protocol. In URL output it percent-encodes the login and password, so @, :, / and # in a password reach your program as %40, %3A, %2F and %23 and can't break the host part. The converter splits entries at spaces, commas and semicolons. A password with one of those characters gets cut: the first half becomes a proxy with a short password, and the rest lands in Broken lines.
What the protocol menu changes
The Protocol menu rewrites the scheme on URL lines and in the protocol field of JSON and CSV. The proxy server behind the line stays the same. If port 8080 serves HTTP only, a socks5:// label makes your client attempt a SOCKS handshake, and the connection fails. Ask your provider which protocol each port serves before you relabel a list. The menu offers http, https, socks4 and socks5 and has no socks5h entry. To keep socks5h://, leave the menu on 'as in the line, else http': lines that start with socks5h:// keep that scheme in URL, JSON and CSV output. Choosing socks5 in the menu turns them into socks5://.
Output format for your software
Both curl -x and Python requests read the URL format, such as socks5h://alice:s3cret@203.0.113.10:1080. For SOCKS, requests needs the PySocks package, which pip installs with requests[socks]. Playwright takes the server as http://203.0.113.10:8080 and the login and password in separate username and password fields, the same split you get in the JSON output. Scrapebox imports ip:port:user:pass. To turn a curl command into Python, Node.js or PHP code with your proxy, open the cURL converter.