Free tool · Format converter
Proxy format converter
Paste a proxy list in any common format, such as ip:port:user:pass, user:pass@ip:port or a full URL, and get it back in the shape your tool expects: another list layout, JSON, CSV, or a ready snippet for curl, Python requests, Playwright, Chrome or Scrapy. Up to 2,000 lines, converted in your browser. Nothing is sent anywhere.
Converted in your browser. Nothing is sent anywhere.
Reads host:port, host:port:user:pass, user:pass:host:port, user:pass@host:port, host:port@user:pass and URLs with http, https, socks4, socks5 or socks5h. Lines starting with # are ignored.
Explained
Proxy formats, and the one rule that breaks them
Why proxy formats differ
Provider dashboards export lists for people and spreadsheets, so colon-separated host:port:user:pass is common: easy to split, nothing to escape. HTTP clients are configured with a URL, scheme://user:pass@host:port, because that is where a URL keeps credentials (the userinfo part, RFC 3986). Browsers split the proxy apart again: Playwright wants the server, username and password as separate fields, and Chrome's --proxy-server takes no credentials at all.
| Format | Who expects it | Watch out for |
|---|---|---|
host:port:user:pass | Provider exports, import fields of many tools | A password may contain :; a reader must keep everything after the third colon |
user:pass@host:port | Tools that take a proxy without a scheme | Split at the last @, since a password may contain one |
scheme://user:pass@host:port | curl, Python requests, HTTPX, aiohttp, Scrapy, HTTPS_PROXY | Credentials must be percent-encoded, see below |
{ server, username, password } | Playwright | Username and password are documented for HTTP proxies only |
--proxy-server=scheme://host:port | Chrome, Selenium with Chrome | No place for credentials; the converter leaves them out |
The percent-encoding gotcha in proxy URLs
In a URL, @ ends the credentials, the first : separates username from password, and /, ? and # end the host part (RFC 3986, sections 3.2 and 3.2.1). A password such as p@ss:w/rd written raw into http://user:p@ss:w/rd@host:port therefore moves the host: in our test, curl 8.7 never reached the proxy (exit code 5, proxy host not resolved) and Python's URL parser read the host as ss.
Encoded, the same password is p%40ss%3Aw%2Frd. curl's manual says user and password in the proxy string are URL-decoded, Scrapy's proxy middleware unquotes both, and requests does the same. We sent the converter's output through curl 8.7.1 and requests 2.32.5 to a local proxy that records the Proxy-Authorization header: both delivered the original password, including @, :, /, #, ?, %, &, +, ;, = and a space.
| Character | Encoded | Why it matters |
|---|---|---|
@ | %40 | Ends the credentials |
: | %3A | Splits username from password; must be encoded in a username |
/ ? # | %2F %3F %23 | End the host part of a URL |
% | %25 | Starts an escape; a bare % breaks decoding |
space, + | %20, %2B | Not allowed raw; + is read as a space by form decoders |
The converter percent-encodes the username and password in every URL-shaped output (URL, curl, requests, Scrapy) and writes the plain list formats raw, because tools that read host:port:user:pass split on colons and do not decode. When it reads a line that starts with a scheme, it decodes %40 back to @; a line without a scheme is taken literally.
Keep passwords to ASCII if you can. In the same test, curl sent an é as UTF-8 and requests sent it as Latin-1, so one password reached the proxy as two different byte strings. With curl you can also skip the encoding altogether: --proxy-user user:pass takes the credentials outside the URL.
How the converter reads a line
- Blank lines and lines starting with
#are ignored; Windows line endings and stray spaces around a line are fine. - With an
@, the part after the last@is the host and port, so a password may contain@.host:port@user:passis recognised too. - With four or more colon-separated fields, everything after the third colon is the password.
user:pass:host:portis detected when the first field is clearly not a host; for an ambiguous list, set the order by hand. - IPv6 addresses need brackets,
[2001:db8::1]:8080, in every format, because the colons inside them would otherwise be read as separators. - A line that cannot be read is skipped and listed with its line number and the reason. The lines themselves are never repeated back in the error list.
- Remove duplicates drops exact repeats: same scheme, host, port, username and password.
socks5 or socks5h, and what each tool accepts
In curl and Python requests, socks5h:// resolves host names at the proxy and socks5:// resolves them on your machine, which matters for geo-targeting and DNS leaks; SOCKS5 explains the difference. requests needs the requests[socks] extra for either.
Chrome has no socks5h://: its SOCKS5 scheme is socks5://, which always resolves names at the proxy, and it supports no SOCKS5 authentication (Chromium's proxy documentation). The converter therefore writes socks5:// for Chrome and Playwright, and warns when a SOCKS proxy for Playwright has credentials. Scrapy's default download handler takes HTTP and HTTPS proxies; per its documentation, only the HTTPX download handler accepts SOCKS.
FAQ
Questions
Something not covered? Write to contact@arcproxies.io.
How do I convert ip:port:user:pass to user:pass@ip:port?
Paste the list into the converter, choose user:pass@host:port as the output, and copy or download the result. Passwords that contain a colon are kept whole, because everything after the third colon counts as the password.
Is my proxy list sent to a server?
No. The conversion runs in your browser with JavaScript. The list is not uploaded, not saved in browser storage and not put in the page address; closing the tab discards it.
Why does my proxy URL fail when the password contains @ or a colon?
In a URL, @ ends the credentials and a colon separates username from password, so a raw @ or colon moves the host to the wrong place. Percent-encode them, @ as %40 and : as %3A. The converter's URL, curl, requests and Scrapy outputs do this for you.
Can I put a username and password in Chrome's --proxy-server?
No. --proxy-server takes a scheme, host and port, and credentials written into it are not used. The converter leaves them out. Chrome and Selenium show the ways that do work.
What is the difference between socks5:// and socks5h://?
With socks5h://, curl and Python requests send the host name to the proxy and the proxy resolves it. With socks5:// they resolve it locally first and send an IP address. Chrome has no socks5h://; its socks5:// always resolves at the proxy, so the converter writes socks5:// for Chrome and Playwright.
Which proxy format does Playwright need?
An object with server, username and password: { server: "http://host:port", username: "user", password: "pass" }. Pick the Playwright output and the converter writes it for every line. Playwright documents username and password for HTTP proxies, so use http:// when the proxy needs a login.
How many proxies can I convert at once?
Up to 2,000 lines per run. Longer lists are cut at 2,000 and the page says how many lines were left out, so you can convert the rest in a second pass.
Runs in your browser
The page does its work with JavaScript on your device. What you type is not uploaded, not stored in the browser and not put in the address bar; closing the tab discards it.
From ARC
ARC sells residential, ISP and mobile proxies by the gigabyte, with no subscription, and the bandwidth never expires. The tool works the same for every provider's proxies, ours included. See pricing
Sources & review
Last reviewed by the ARC Proxies team. The encoding behaviour was tested with curl 8.7.1 and requests 2.32.5 against a local proxy.
- [1]IETF: RFC 3986: Uniform Resource Identifier, section 3.2.1 User Information
- [2]curl: curl man page: -x, --proxy
- [3]Requests: Advanced usage: Proxies and SOCKS
- [4]Playwright: Network: HTTP Proxy
- [5]Chromium: Proxy support in Chrome (net/docs/proxy.md)
- [6]Scrapy: Downloader middleware: HttpProxyMiddleware
- [7]IETF: RFC 1928: SOCKS Protocol Version 5
Related