If you paste an old crosshair code into Counter-Strike 2 today, the game answers "Invalid or old crosshair code." Nothing is wrong with your code. The format changed on 30 September 2026, and the game no longer reads the old one. Here's what a crosshair code actually is, what changed, and what that means for the codes you have saved.
What a code is
A crosshair code is your settings packed into a short string so you can share them. Crosshair sharing arrived in CS:GO's update of 24-25 February 2020 (Valve: "share your crosshair code with others or import a code to try someone else's"). Every number in your crosshair (style, size, colour and so on) is stored in a handful of bytes, and those bytes are written out in an alphabet of 57 characters.
The alphabet deliberately leaves out characters that are easy to confuse: there's no capital I, no lowercase g or l, and no 0 or 1. The first byte of every code is a checksum, the sum of all the others. If one character is mistyped the sum doesn't match and the game rejects the code instead of loading a wrong crosshair.
The four formats
Valve doesn't document the format. What follows comes from csgo-sharecode, an open-source decoder by akiver (the author of CS Demo Manager), which we reimplemented and checked against real codes (see the pros article). The version number is the second byte of the code.
| Looks like | Version | In use | What's inside |
|---|---|---|---|
CSGO-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx | 1 | 2020 until the overhaul | The old settings on the old arbitrary scale, a preset colour slot, outline thickness |
| same shape | 3 | from 22 September 2026 | The new pixel settings, the spread limit, and the screen height the crosshair was set up at |
| same shape | 4 | from 23 September | Version 3 plus the outline mode (none, full or half) |
CS followed by 44 characters, no dashes | 1 (new family) | from 30 September | All of that plus outline colour and transparency, scope-dot size and colour |
So "CSGO-" codes made in the last week of September already held pixel settings, while every code made before 22 September holds the old scale. They look identical to the eye. Reports differ on whether those September-only codes still import; we haven't been able to test it. Codes from before 22 September are the ones the game rejects.
The code knows your screen
Since the overhaul, every code stores the screen height it was made at. That's how the game keeps your crosshair the same size relative to the screen when you change resolution (Valve's example: 2 pixels at 1280×720 becomes 4 at 2560×1440). It also means a code quietly records roughly what resolution its owner plays at. In the 20 pro codes we read from post-update matches, 12 were made at a height of 960 pixels, the height of 1280×960, the stretched 4:3 resolution many pros use. (The code doesn't store the width, so that's a strong hint, not proof.)
What to do with an old code
- Easiest: rebuild it by eye in Settings → Crosshair / Scopes, then use Share to get a new "CS" code.
- Third-party converters exist and turn old codes into new ones. We haven't tested any; Valve doesn't offer one.
- If you copy a pro's crosshair, make sure the code starts with "CS" and has no dashes. Many pro lists online still show old codes. Our list of 20 current pro codes, read straight from match files.
The Crosshair Files
- Every setting in the new menu
- The overhaul, day by day
- Crosshair codes, and why your old one says "invalid" (you're here)
- What pros actually use
- A short history of the crosshair
Worth arguing about: a crosshair code now records roughly what resolution you play at. Harmless detail, or more than you meant to share?
Argue it out with us on X. That's where this actually gets resolved.
Sources: Valve's patch notes (24-25 February 2020; 22, 23 and 30 September 2026); the game's own text for the "invalid" message; the format as decoded by akiver's open-source csgo-sharecode (MIT, v7.0.1), which we reimplemented rather than ran. The version dates are inferred from what each version contains and when Valve shipped those features.