# SOCKS5 vs HTTP proxy for an anti-detect browser

> SOCKS5 vs HTTP proxy for an anti-detect browser: on HTTPS pages a site cannot tell them apart. What differs is DNS, logins in Chrome and UDP.

Source: https://mosaicbrowser.com/guides/socks5-vs-http-proxy-for-anti-detect-browser

## SOCKS5 vs HTTP proxy for an anti-detect browser

Either works, because both carry HTTPS pages as an unchanged encrypted connection, so the site sees the same IP and the same TLS handshake. Choose by what your seller supports: SOCKS5 when you need hostnames resolved at the proxy's end or non-web traffic, HTTP when a tool only speaks HTTP.

![SOCKS5 versus HTTP, each name in its own tile: SOCKS5 vs HTTP for an anti-detect browser](https://mosaicbrowser.com/covers/socks5-vs-http-proxy-for-anti-detect-browser.webp)

In the SOCKS5 vs HTTP proxy question for an anti-detect browser, the two look the same to the website on HTTPS pages, which is nearly every page an account loads. Both carry the browser's encrypted connection through unchanged, so the site sees the same IP address and the same TLS handshake from the same browser. The choice matters in three narrower places: where hostnames get looked up, whether the browser can send the proxy's login, and whether anything other than web traffic needs to go through. Pick on those, and on which protocol your seller supports best.

## What each protocol actually does

An HTTP proxy speaks HTTP. For an `https://` page the browser sends `CONNECT host:443`, the proxy opens a connection to the site, and from then on it forwards the data blindly in both directions until that connection closes ([RFC 9110, section 9.3.6](https://www.rfc-editor.org/rfc/rfc9110#section-9.3.6)). It never sees inside the encryption. For a plain `http://` page there is no such connection: the proxy reads the request and fetches it, so it could add or change headers.

A SOCKS5 proxy works one layer lower. The client asks it to connect to an address and port, and it passes on whatever bytes follow, TLS or not. The request can name the destination by hostname instead of by IP, which lets the proxy do the DNS lookup at its own end ([RFC 1928](https://www.rfc-editor.org/rfc/rfc1928), read 2 November 2026). SOCKS5 also defines a `UDP ASSOCIATE` command for carrying UDP. Logins are a separate small protocol, plain username and password ([RFC 1929](https://www.rfc-editor.org/rfc/rfc1929)).

## SOCKS5 vs HTTP proxy for an anti-detect browser, side by side

|  | HTTP proxy | SOCKS5 proxy |
| --- | --- | --- |
| HTTPS pages | passed through with `CONNECT`, unread | passed on, unread |
| Plain HTTP pages | read and fetched by the proxy | passed on, unread |
| What the site sees | the IP and the browser's own TLS | the IP and the browser's own TLS |
| DNS | the proxy resolves names in `CONNECT` | at the proxy's end if the client sends hostnames, locally if it sends IPs |
| UDP | no | defined in the standard, rarely used by browsers |
| Login in stock Chrome | asked for in a box | not possible |

The row that matters most is the third one. A fingerprinting script runs inside the page, and the page arrives the same way through both. Detectors that read the TLS handshake (JA3, JA4) read the browser's handshake, because neither proxy terminates TLS. So a choice between the two is not a choice between two fingerprints.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Checked before every launch](https://mosaicbrowser.com/features/proxy-check-before-launch)

## Where SOCKS5 earns its place

### DNS at the proxy's end

When a SOCKS5 client sends the hostname, your own ISP never sees which sites you look up, and a DNS leak test reports the IP's resolver instead of yours. With curl that is the difference between `socks5://` (resolve locally) and `socks5h://` (resolve at the proxy). An HTTP proxy gets this right for HTTPS by default, since `CONNECT` names the host. The leak, when it happens, comes from the browser resolving names itself before it connects; [fix a DNS leak in your browser](https://mosaicbrowser.com/guides/fix-dns-leak-in-browser) covers that case.

### Non-web traffic

A mail client, a game launcher or anything that is not HTTP can go through SOCKS5 and not through an HTTP proxy. For a browser profile this rarely matters.

### Sellers that sell it on its own port

Some sellers put SOCKS5 on a different port from HTTP. Cat Proxies, for example, answers HTTP on ports 9000, 10000 and 12000 and SOCKS5 on 11000, and a batch of 11000 lines imported as HTTP looked fine in a list and failed at launch. Whichever you choose, the protocol in the line has to match the port.

## Where HTTP is the easier choice

Every tool speaks HTTP proxy. Stock Chrome can at least ask for an HTTP proxy's password, while for SOCKS5 Chromium's documentation is plain: "No authentication methods are supported for SOCKSv5 in Chrome" ([proxy.md](https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md)), so there is no prompt to type a SOCKS password into at all. That is why most people who run Chrome profiles on an authenticated SOCKS5 proxy hit a wall; [Chrome SOCKS5 proxy with username and password](https://mosaicbrowser.com/guides/chrome-socks5-proxy-with-username-and-password) goes through the workarounds.

## What about WebRTC and UDP?

WebRTC uses UDP, and UDP does not go through an HTTP proxy. In principle SOCKS5's UDP support could carry it; in practice the setting that protects you is to stop WebRTC from sending UDP outside the proxy at all, so a page cannot learn your real address by asking for a peer connection. Chrome's policy for that is `disable_non_proxied_udp`, and it works the same whichever protocol the proxy speaks.

## How Mosaic treats the two

In Mosaic the choice makes even less difference, by design. Every profile whose proxy needs a login, and every SOCKS proxy, gets its own small local proxy on `127.0.0.1`, so Mosaic logs in to the proxy for the browser, on your computer. The browser talks plain HTTP proxy to that local proxy with no credentials, and Mosaic speaks to your seller in whichever protocol the proxy is: HTTP with the login added, or SOCKS5 with the RFC 1929 login. Each profile has its own local proxy, so two profiles never share an upstream connection.

- With SOCKS5, Mosaic sends the destination as a hostname, so the lookup happens at the proxy's end.
- "Resolve DNS through the proxy only", on the editor's **Privacy** tab and on by default, makes any name the browser tries to look up by itself fail instead of leaking to your ISP.
- "Block non-proxied UDP (WebRTC)", also on by default, starts the engine with `--webrtc-ip-handling-policy=disable_non_proxied_udp` whenever a proxy is set.
- SOCKS4 is accepted too, but it has no way to carry a password, so it only fits proxies that authorise your IP address.

![Creating a profile in Mosaic: a checked proxy, and the hardware and locale drawn to match its IP](https://mosaicbrowser.com/shots/profile-editor.png)
*The proxy type is one field; Mosaic does the rest*

The proxy type is a dropdown in the proxy dialog (HTTP, SOCKS5, HTTPS, SOCKS4), and a line that starts with `socks5://` sets it for you. Whichever you pick, the check before launch proves the proxy carries an HTTPS connection, as described on [the proxy check before launch](https://mosaicbrowser.com/features/proxy-check-before-launch) page.

## Sources

1. [RFC 9110: HTTP Semantics, CONNECT](https://www.rfc-editor.org/rfc/rfc9110#section-9.3.6), read November 2, 2026
2. [RFC 1928: SOCKS Protocol Version 5](https://www.rfc-editor.org/rfc/rfc1928), read November 2, 2026
3. [RFC 1929: Username/Password Authentication for SOCKS V5](https://www.rfc-editor.org/rfc/rfc1929), read November 2, 2026
4. [Chromium: Proxy support in Chrome (net/docs/proxy.md)](https://chromium.googlesource.com/chromium/src/+/HEAD/net/docs/proxy.md), read November 2, 2026

## Questions

### Is SOCKS5 more anonymous than HTTP?

Not for HTTPS browsing. Both forward the encrypted connection without reading it, and the site sees the IP address either way. The real differences are where DNS is resolved and whether the browser can send a login, and both are settings, not properties of anonymity.

### Why does Chrome ask for my proxy password every time?

Chrome does not use credentials written into its proxy setting. For an HTTP proxy it asks in a box; for SOCKS5 it has no way to send a login at all. A tool that runs a small local proxy on your computer can add the login for it.

### Can a website detect that I use SOCKS5?

Not from the protocol, which ends at the proxy. A site sees the IP address and whatever the browser sends. It may know the address belongs to a proxy seller, which is the same for both types.

### Should I use SOCKS5 for WebRTC?

SOCKS5 defines a way to carry UDP, but what keeps WebRTC from exposing your address is a browser setting, not the proxy type: stop WebRTC from sending UDP outside the proxy. Mosaic does that by default for every profile with a proxy.

## Related

[Chrome SOCKS5 proxy with username and password](https://mosaicbrowser.com/guides/chrome-socks5-proxy-with-username-and-password): No Chrome extension can sign in to a SOCKS5 proxy, because Chromium supports no SOCKS5 login. Use the seller's HTTP port, an IP allowlist or a local proxy.

[Proxy format: ip:port:username:password explained](https://mosaicbrowser.com/guides/proxy-format-ip-port-username-password): The usual proxy format is ip:port:username:password. The same four values also come as username:password@ip:port, with or without a scheme in front.

[How to fix a DNS leak in your browser](https://mosaicbrowser.com/guides/fix-dns-leak-in-browser): A browser DNS leak is either your own machine resolving names or a proxy IP using a resolver abroad. How to tell the two apart, and the fix for each.

[How to test a proxy before using it](https://mosaicbrowser.com/guides/test-a-proxy-before-using-it): How to test a proxy before using it: read its IP twice, prove it carries HTTPS, time it and check its DNS, all with curl, then test it again later.

[Check the proxy before launching a browser profile, every time](https://mosaicbrowser.com/features/proxy-check-before-launch): Mosaic checks the proxy before launching a browser profile: it must answer and carry HTTPS. If it does not, nothing opens and the error names the proxy.







[How to check if a proxy is residential](https://mosaicbrowser.com/guides/check-if-a-proxy-is-residential): How to check if a proxy is residential: look up the public IP, not the gateway. The hosting flag, network owner and reverse DNS tell a home ISP from a server.

## Run this guide on your own accounts

Every Mosaic profile is a fingerprint, a proxy IP and a cookie jar that agree with each other, kept on your computer. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
