WhatCable: Know what your USB-C cable can do
whatcable.uk
whatcable.uk
I have a basket with a lot of USB-c cables and without the tester I can't remember (nor guess) which one does what.
And I have nothing to gain from that sale.
wiggle the cables around to see if and when any of the lights flicker, indicating a bad or broken connection. i've found a few bad cables that would intermittently fail.
> Cable history
> Add a cable, give it a name, and WhatCable records how it performs over time, with a verdict per cable.
Oh god not again... before everyone starts naming their favourite brand, here's a 265 comment HN thread[1] (from last week !) on why these cheap USB-cable "testers" are not worth anything.
TL;DR You need a six-figure wallet to seriously call anything a "hardware tester" for USB cables. User ChrisMarshallNY has a one-liner summary buried in that thread:
Think about it. You need to generate a precise, calibrated, 40GHz signal, transmit it, then precisely measure the returned signal for phase, amplitude, and waveform integrity -at that speed. Oscilloscopes and logic analyzers that run at that speed, are damn expensive.
If you only paid $40 for a black-box on your favourite online marketplace, then what you've got is definitively NOT a USB-cable tester.See the discusison linked to.
Trust me, my interest was piqued by that thread and I went down the rabbit warren with Mr Google and spent far too much time on the subject. I looked at the various manufacturers and the setups required.
TL;DR: To start with, you need fancy harness assemblies. Then you need to plug those harnesses into very, very expensive equipment.
You're not going to find anything for $20k. High-throughput USB-cable testing simply can't be done the same way copper CAT6 certification can with a 20k Fluke.
For those who want to play with Mr Google, some manufacturers from my notes: Wilder Technologies, Allion, Keysight, Tektronix, Teledyne LeCroy
Here's one blog post I uncovered during my researches: https://www.keysight.com/blogs/en/tech/bench/2023/02/17/powe...
You need a six figure wallet to want to spend $20k on a tester :)
Heh. I'll give you a +1 for that one.
Reminded me of the old joke...
What's the quickest way to become a millionaire ? Be a billionaire and buy an airline.
And $20,000 is five figures, so an off-the-cuff six figure estimate is an error of an order of magnitude. That's quite a large error.
But to bring it all back 'round again: The oft-repeated suggestion that a $40 device can do the same job represents an error of 3 or more orders of magnitude. :)
Some of the stuff in this cheaper class of kit can observe what happens in terms of voltage and/or current on the wire between two devices, some of them can have a chat with a cable and/or a device on their own to see what they state of their capabilities (as this software does), and some of them can also test things like DC continuity. That's useful, but it doesn't help to grade the actual signal characteristics of the cable.
There's a galaxy of difference between DC and a 40 GHz symbol rate.
Sadly yes.
Like many people on that thread concluded:
The best "middle ground" thing you can do is pay a premium to buy your cables from reputable manufacturers.
A $40 toy won't tell you if the marker chips it has just read are fake / counterfeit.
You need the expensive kit for that.
We get it. A cheap tester will not tell me if a cable from a dodgy supplier is counterfeit. It will tell me what the capabilities are of the dozens of assorted cables I own from reputable manufacturers, which is otherwise difficult if not impossible to discern.
What the chip reports is itself inherently useful information, especially if you have cables from reliable manufacturers.
Its not a viewpoint "man", it is a FACT.
There are people here actively using the term "it verifies" in relation to their $40 toy they bought on Amazon, they absolutely need to be corrected firmly.
A $40 toy DOES NOT "verify" anything it (a) Does a DC continuity test (b) Reads the chips on the cable. NOTHING ELSE.
People here trying to pretend it does more than a+b need a reality check.
The $40 black-boxes do two things:
1. Basic electrical continuity test
2. Read the marker chips (if present)
There is zero chance that a $40 black-box, even if it did a naïve packet pushing test, would deliver you reproducible results and introduces all sorts of other random variables."Excessive retries" sounds like exactly the sort of intermittent, hard-to-diagnose cable issues that you will not find unless you test the USB cable on a 6-figure rig. :)
But as was repeated 101 times on that thread ....
All that those cheap $40 boxes are doing IS reading the marker.
Sadly you are kidding yourself if you think a $40 box off Amazon is doing any sort of "verification". Let alone in any sort of calibrated, reproducible sense free of random unknown variables.
Good luck spotting those counterfeit / phony markers with your $40 toy.
Just one of many examples of basic things your $40 toy won't tell you.
If I want to tell a cable that can do only USB 2 from one that can do 3 from one that is actually thunderbolt, the treedix is a godsend. So. Many. Devices. Come with some unknown usb cable. Can it only charge? Transfer data? How fast? Stuff like signal integrity, dispersion, differential timing, phase shift etc are totally out of scope for this simple thing - telling apart these cables.
And if the marker chips in your "some unknown usb cable" are fake / counterfeit ? Then what ?
Your $40 toy won't help with that scenario and you will be back at square one. That's what.
Maybe you need absolutely 100% confidence your labels don't lie, but I and presumably others on this thread merely want to check for the presence of the label and the declarations on it. That's enough for me to sort my cables.
Maybe occasionally I'll come across a counterfeit cable (or more likely, a damaged cable, because I generally buy reputable ones) and have one underperform its label, but I can get rid of it then.
The only wrinkles for me are that Macs apparently don't interrogate cables when they don't have to, i.e., when the power adapter supplies <= 60W (not sure if that's a USB-C protocol or an Apple implementation limitation) and that the website copy is full of GPT-isms, which makes me suspect that some of the output might be assumed instead of empirically validated as well.
Not reproducible and introduces all sorts of other random variables to your test (buffering etc.).
As I understand it, Windows doesn't expose the necessary low-level hardware information for something like this to be possible.
I have a handful of wireless keyboards that just absolutely refuse to negotiate for charging with certain cables at all, so I'm hoping this will help me at least figure out what those keyboards are looking for in terms of cable.
https://github.com/nedrichards/whatcable-linux
But (hazard guess) it comes with a headless CLI binary (no GUI libraries needed) so probably could be ported to Linux (easily with an LLM?)
I have so many cables I've accumulated over the years, I should either purge or at least categorize the functionality of each.
But it is the second product I tried; the first one didn't work (it's a 2020 Stellantis car). So, YMMV.
Does require a bit of setup, can scan reviews to see if people have optimized a config for your specific vehicle
Just purge the known-bad cables already. :) (Gather them up and scrap them if the landfill seems like a harsh destination.)
In a situation of surplus, there's no reason I can think of where keeping charging-only cables around has merit.
Later on, if you need a cable that very specifically can do USB 3 speeds, then: Use a flashlight and look inside of the USB A connector. The ones that only have 1 row of 4 contacts will never be able to do USB 3, while the ones with 2 rows contacts will probably work fine.
That said: My travel tends to happen with my own car, and that travel is never international. I can see how a charge-only cable would be beneficial for others.
What's less easy to replace are all these damn USB-C devices lacking the UFP-identifying circuitry that only work on USB-A chargers using A-to-C cables...
Incidentally — I spent an inordinate amount of time searching for USB3.2 cables on Amazon, and the vast majority of cables were actually just USB2.0 cables with PD support, and not actual Full-Featured cables.
But over here in the real world where I need a specific sort of USB 3.2 widget: Either the USB 3.2 widget exists, or it does not exist. Presenting pages and pages of not-results that were already explicitly defined as irrelevant do not help a person to spend money. :)
(eBay's advanced search mode seems to still get it close-enough to right when rote specificity is important. I use it all the time to find very particular things.)
It turns out some ethernet cables are missing wires - and capped at 100Mbps! Wait what? I didn't even know that was a thing. I don't know where I got the wire, but into the trash it goes.
These tools read a chip called an "eMarker". These eMarkers are programmed to say whatever the manufacturer wants them to say - there's no requirement that the information be based in reality. Plenty of cables have eMarkers that claim "40Gbps" or whatever speeds, or support 240W PD...but absolutely cannot deliver either of those. And none of these consumer level software or hardware testers can actually test either of those claims. They can only take the cable's own claims at face value.
Resistance measurements can cursorily test claims of 240W but resistance changes with temperature which changes with current...so unless your tester puts 5 amps down the wire for 5 minutes and then tests resistance it's not a very good test. AFAIK none of the testers flow 5 amps through the cable.
Actual maximum data throughput is very hard to know. The only way to really "know" how much data can flow through a cable is with an expensive oscilloscope or cable tester. Because 80Gbps cables run at ~13GHz, at minimum you need a 26GHz scope (Nyquist–Shannon sampling theorem) or more practically a 52GHz scope. And it turns out it's really expensive to measure electrical signals 52 billion times per second. The necessary devices start at $15,000 (cable signal integrity tester) [0] on the very low end and only work for max 10Gbps USB 3.2 cables, or past $270,000 for 80Gbps USB4 cables (proper 60GHz oscilloscope) [1].
On the high end, each signal integrity test device can actually cost $1-2 million [2] where the base unit starts at $670,000 plus then spending additional money for hardware-accelerated analysis, specialized active probes, and the specific PAM-3 / USB4 compliance software packages.
0: https://www.totalphase.com/products/advanced-cable-tester-v2...
1: https://www.edn.com/12-bit-oscilloscope-operates-up-to-65-gh...
2: https://www.eevblog.com/forum/testgear/uxr1104a-infiniium-ux...
For example, I don't need to precisely measure exactly how messed up the signal is to know if the HDMI cable works or not at a given resolution. I'll see the TV have issues displaying a picture. Either the picture is there reliably or its not. I'm not trying to fine tune the cable, I'm just trying to see if it generally works or not.
As for testing power delivery, its not that electrically complicated to put a few amps through a wire for a few minutes. That said, the user must be aware if the cable isn't up to the standards that the chip states you could have some serious issues on your hands, but I guess better to find out on the tester at the workbench or desk than at your bedside.
Couldn't you just do a data transfer test over the cable and check the error rate? At least in theory, the controller might not report enough I guess.
IT interconnect closet vs. air vehicle.
Isn't that what most people here are really wanting? I don't imagine most people here are seriously wanting to know the exact extreme measurements, just "can this cable reasonably do what I need from it? Does it do what it claims on the label generally?"
They don't say it like that, but: They sure do get grumpy when the Thunderbolt-connected display for their laptop shits the bed mid-afternoon on a Wednesday after a year, or the export for their recording session fails on a device they've done this with dozens of times before, or the cable connecting the camera they use to watch their cats no longer works: They get quite grumpy about these things, indeed.
So they want resoluteness, not reasonableness.
I know it's 2026 and many of us are used to using bots that are compulsively high-confidence liars.
But just go ahead and try to reason with someone about a local computer that fails tasks apparently-randomly. That's the makings of a bad scene. :)
You don't need a six figure oscilloscope or logic analyzer to know "does it work".
If that's the extent of the thing that they want to do, then there is nothing further to discuss: They already have everything they need to begin that kind of evaluation immediately.
It doesn't give them any viable forecast as to whether the cable will work or not with some other bits of gear, though, or on some other day. It just evaluates it as a binary pass/fail for right now.
"Digital" cables are often dismissed as simple things, wherein: A string of bits goes in one end of a random collection of copper wires or metal coat hangers or whatevers, and it always comes out the other end the same way. After all, it's digital.
But reality isn't that way at all, and there's a lot that goes into a reliable cable that connects things together. Characteristic impedance is only one of the things[1].
---
Interrogating the emarker doesn't provide further practical information, either. The information that can come from there is similar to what wording on the package on the shelf at the store is: Both things merely document what someone else once said about what the cable should be capable of doing.
Like a printed URL vs a QR code that each lead to the same web site: It's the same information, differing only in presentation. One of these presentations is human readable and other is not.
And neither thing neither thing tells the user whether that website is still reachable or whether it fell off the face of the earth, or whether it is friendly or evil.
It's all just a fixed string of information and that information can be wrong. It can even be deliberately wrong. The words on the box, the bits burned into the emarker chip, the URL, and the QR code: In the best case, they may or may not lead to a useful outcome.
In the worst case, they can be lies.
emarker chips set a hard not-to-exceed performance limit, but they don't provide a promise of performance below that limit.
---
[1]: Like the RG-6 cable connecting a cable modem to the wall: It functions with a very specific characteristic impedance of 75 Ohms. Or the SATA cable in the desktop computer of someone with some Linux ISOs: That's twinaxial cable, with its center pair of straight, parallel wires and the shielding all interacting with eachother at a controlled impedance. USB 4, meanwhile, uses cables with a characteristic impedance of 90 Ohms.
Characteristic impedance can be complex, and even dynamic. Like the ye olde POTS phone lines, for voice audio: That was designed and built very specifically in order to behave itself within those seemingly-minor constraints. 600 Ohms at 1 KHz was the target, and that was good enough for a very long time. But when frequencies increase into the MHz range with things like DSL, that characteristic impedance tends to drop to somewhere in the realm of 100 Ohms.
100 Ohms is, not coincidentally, around the same characteristic impedance that our Ethernet cables seek to provide at the frequencies we care about in that space. :)
Whatever that characteristic impedance is (at whatever frequencies are being used), when it matches what the termination impedance of the two endpoints are then we get an ideal transmission line. (That's always the target; an ideal transmission line is a glorious thing, indeed.)
But bad impedance match results in not just seemingly-obvious things like attenuation; it also introduces things like reflection -- signals bouncing back and forth, causing temporal distortions that obscure the desired signal. Bad matches also result in standing wave patterns where the length of the wire makes a difference, but shorter isn't better: The pattern of these standing waves within a wire are a function of the wavelength of the signal, not the overall length of the cable.
It's easy to make any of those things work within their designed uses and designated systems, where all of the effort to get this stuff right happens behind the scenes.
It's much harder to replace with bits of copper wire from the junk drawer and get reliably-good results.
For 1KHz in modern-ish POTS lines, that wavelength is around 40km. That's easy-enough to hand-wave away for lots of uses. The impedance matching can all be completely screwed and it really doesn't matter much for short runs.
But at 12.8GHz (the frequency maximum of USB 4) in a USB cable, the wavelength is only around 16mm. It's kind of a big deal to seek to have the little parts exactly-right in these seemingly-innocuous, hard-to-see ways. :)
And the impedance changes in-use, too. A kink in the wire produces an impedance aberration at that point that can be measured, and that can also be bad enough to produce practical issues that affect real-world performance.
Bad enough to fail the binary test you described today, even though the test was completely successful yesterday.
> They plug the cable in to the equipment they already have, and it either works in the way they care about or it does not.
That's the thing though, I don't always have these things handy or ready to just plug something in quick and test. I'd like some kind of small device which can actually do some quick tests and see if it passes or fails at whatever power and bitrate more than just what the little identifier says it can do. Because, I agree, you can't trust the tag, there's a lot going on. And a cable that tested fine a year ago might be too messed up to work today.
In the end, it's also sometimes messy testing bandwidth given two random devices. Are they just being buggy with their handshake? Are we getting strange driver issues? Something else going on? A more dedicated tester tool can just be sure these two things definitely, without question should work just fine at whatever bandwidth they're trying to test with. And with a button press it does it and clearly gives the results. If it's not too expensive and you end up handling lots of questionable cables, sounds kind of nice!
> And the impedance changes in-use, too. A kink in the wire produces an impedance aberration at that point that can be measured, and that can also be bad enough to produce practical issues that affect real-world performance.
This is still true of a six figure oscilloscope testing the wire. If you're not manipulating the wire in realistic ways your super expensive tool isn't really going to answer that any more as the cheaper pass/fail. What might look just fine on the scope may look really bad when you bend it wrong or it gets a little internal crack or too much outside interference or something. You'll potentially be clued in to it being closer to being a messed up signal, but not necessarily.
Excellent! I had to learn all of this background the hard way by working with things in the field and asking myself why things behaved in certain ways. Finding answers that fit functionally into a larger mental model was not always very fast.
I should get a ham license one of these days. On a whim with no preparation, I recently managed to pass a technician-class practice test well-enough that a real test would not have been a problem. But I got tripped up badly on some of the questions about packet radio because many of the most-correct answers (in absolutes) were considered wrong (in the perspective of the older-timers who wrote that part of the test).
I mean, I know of plenty about TCP/IP. As my own brand of old-timer, I even know of KA9Q's work in packet radio and I think I even used his software ~35 years ago when running PPP under MS-DOS for dial-up internet, since that was the style at the time. I found that part that part pretty frustrating.
The rest of the practice test all made sense. :)
> I don't always have these things handy or ready to just plug something in quick and test.
Me, neither. I don't have any of this higher-speed stuff to play with at all. If I scored a great deal on some future-proof-ish all-singing, all-dancing USB cables, I'd have no way to validate their performance today. They'd be placed in a Rumsfeld bucket of known unknowns until something else changed, like the appearance of any kind of equipment to test with.
> I'd like some kind of small device which can actually do some quick tests and see if it passes or fails at whatever power and bitrate more than just what the little identifier says it can do.
Agreed. Perhaps it can be built. It's conceptually simple to say that the high-speed receiver and transmitter widgets exist as general-purpose COTS chips that can just get used in a circuit with some kind of supervisory intermediary to task them with Doing Verifiable Stuff Real Fast and provide performance information. Like UARTs, say.
But reality doesn't seem to match that very well at all. They instead seem to be very special-purpose ASICs that work in strictly-defined ways. This part is a motherboard/CPU glue chip (whooo boy), while this other part connects to a display (and only usefully-operates in display-world). None of them seem to be general purpose when I've looked into it.
And, of course: If it were easy then everyone would already be doing it. We'd just pick up some proper ludicrous-speed cable testers on AliExpress for fifty bucks or something. :)
(I guess we could tape out our own ICs, but I'm not prepared to visit that rabbit hole.)
> You'll potentially be clued in to it being closer to being a messed up signal, but not necessarily.
The point I was driving at with more-abstracted analyzers is that they can conceivably go beyond a pass/fail test.
Like: An edge-case cable that already presents a kind of smeary mess on the hypothetical Lambo-scope might actually work perfectly well, right now, in real use -- and I really do mean perfect. But is more likely to fail in noticeable ways after its performance degrades a bit and/or with less-tolerant electronics at either end. When every-day use requires it to work at 10/10ths, there's no room for things to get worse.
Meanwhile: A superior cable that presents a much clearer picture on the Lambo-scope might only be operating at, say, 7/10ths in every-day use. It has some room for its performance to degrade, or for less-tolerant electronics to be used, and still behave absolutely perfectly in the real world. This cable will tend to have better longevity and compatibility.
So above-and-beyond performance matters, I think. If I could make an informed choice between the edge-case cable or the superior cable for the thing I toss into my bag before a trip, I'm definitely not choosing the one that I know to be an edge case.
But without the moral equivalent of a Lambo-scope, I don't know how to characterize this or otherwise discriminate between these two cables' characteristics to that level of detail.
We don't have the technology to inexpensively do analytical work at these frequencies.
And this may ultimately be unsolvable: If we did have the tech, then some clever person would adopt it immediately to make an even faster data bus for the world to use and we'd be right back where we started, where the bus is faster than our ability to analyze it. :)
It's just like ethernet networks in this way: We can examine a cable and see if it works by plugging in some regular gear with it, and look at the success/error rate. Lots of people do this. It's an empirical way to see if a cable is good enough today, under present conditions, as a binary pass/fail state.
Or: We can examine a cable using specialized gear to characterize its performance, and then: We measure not just if the cable is good enough for today, but how close it is to the edge of acceptance it is. This allows a fantastic cable that is exceptionally excellent to be discerned from the ones that may be merely good-enough-under-present-conditions edge-cases.
From there, it may in fact be sane to suggest that the better-performing cable is likely to have better longevity as it inevitably degrades from human factors like...using the thing.
I don't need absolute perfection, but I hate the idea of buying an expensive cable, and being lied to about how good the performance is. I don't mind paying more for quality, but its hard for me to really articulate any difference between two USB cables, except by maybe their length, and how "sturdy" one might feel compared to the other.
It wouldn't do a lot to solve the issue of various low quality cables I already own, but I wouldn't mind throwing money at a cable company that doesn't lie to its customers.
https://camelcamelcamel.com/product/B0C93G2M83
At that price they’re my default “generic” cable. Unless I need a longer length or 80Gbps this is the main workhorse in my home. It’s nice just never worrying about discerning “charging” cable from “data” cable.
CableMatters is a very reputable brand if you need more variety in selection. Monoprice also seems to care about quality. CalDigit and Apple both have vested interest in providing quality cables. Strong brand is a good starting point, but even then I still try to stick with USB-IF certified offerings only.