What Importing a CS2 Crosshair Code Actually Changes
A CS2 crosshair share code writes 23 console variables and leaves your other settings alone. What it covers, what it skips, and why an import can look off.
Someone hands you their code, you paste it into the crosshair menu, and what you get is almost their crosshair. A touch bigger, maybe. Or it pulses when you move and theirs sat still. Or you scope the AWP and the crosshair in the scope is the one you have always had.
None of that is a bug. A crosshair share code sets a fixed list of console variables and is silent about everything else, and the parts it stays silent on keep whatever value you were already running.
Which format. Valve changed the share code format on 30 September 2026. This guide describes the current code, a
CSstring with no dashes, and says where an oldCSGO-code differed. What changed, and what to do with an old code, is in the September guide.
Want the list for a specific code? Paste it into the CS2 Crosshair Code Decoder and it prints every console line the code sets.
A code is 23 console commands and nothing else
Importing a code, whether through the settings menu or by pasting the decoded commands into the console, comes down to running a block of assignments. A current code expands into exactly 23 of them: style, length, thickness and gap in pixels, the centre dot, the T shape, the follow-recoil flag, the crosshair colour and the outline colour as red, green, blue and alpha, the outline mode, five settings that shape a dynamic crosshair, and the scope dot's scale and colour switch. That is the whole set. Valve has not published the layout; it comes from two open-source decoders that agree with each other.45 The old CSGO- code expanded into 21 commands.6 How the bytes of each format hold their values is its own article; what matters here is the edge of the list.
Everything outside those 23 assignments is left alone. That is where an imported crosshair usually goes wrong. The code sets the values it carries and says nothing about the rest, so anything you had tuned outside the list stays exactly as you left it, sitting next to a crosshair that was built around different numbers.
The style number and the units are what moved
cl_crosshairstyle is the number that most often makes an import look wrong. Valve's variable list now describes it as 0 to 9: Dynamic Cross, Dynamic Circle, Dynamic Cross (Legacy), Static Circle, Static Cross, Static Cross (Shot Feedback), Dot Only, Dynamic Quad, Static Square and Static Quad.3 Which of those an old CSGO- code's number selects is not published. The decoder converts the style of an old code only for Classic Static and says so for the others.
The units moved as well. Since 23 September, length, thickness and gap are pixels, and the game rescales pixel counts when the display resolution changes.2 A current code stores the screen height its sizes were set at, so the numbers in it mean pixels on that screen.
So a code from the CS:GO era can drop you onto a style that behaves differently than it did for the person who made it. If the imported crosshair blooms when you move and the one you were copying stayed locked, or sits rigid where you expected it to open up, the style value is the first thing to check. The decoder prints it as a plain number; hold it against the list above.
Where the format used to run out of room
Most crosshairs survived a round trip through an old code with every value intact. A few did not, and it was always the same three spots, where a setting had been pushed past what its slot in the 18 bytes could hold.
| Setting | Old code | Current code |
|---|---|---|
| Split distance | 0 to 7 | 0 to 127 |
| Split alpha and ratio | one decimal | two decimals |
| Size, thickness, gap | tenths, wrapped past 25.5 | pixels |
The split distance was the one most likely to bite in the old format. It sat in three bits, so the code could only say 0 through 7. The default is 7, which is why most crosshairs were unaffected, but a dynamic crosshair tuned with a wider split lost that tuning the moment it became a code, and the code it produced was still valid.6 The current layout gives it seven bits, which matches the 0 to 127 range in Valve's variable list.34
The size ceiling is covered at length in the share-code article. A code from a crosshair builder that let you drag the size slider past 25.5 arrived with a correct checksum and described a crosshair a fraction of the size you set, and nothing in the import flagged it. The current layout stores pixels in slots at least as wide as Valve's ranges, so that particular wrap is gone. That comes from the layout and the decoder, not from a test in the game.
What a code never carries
Some crosshair settings are not in the format at all, so a code cannot change them no matter what it holds.
The big one is your sniper crosshair width. cl_crosshair_sniper_width is a defined variable in the game and it is not among the 23, so importing a pro's code leaves your AWP and Scout crosshair exactly as you set it.3 That is almost always what you want, and occasionally a surprise when someone assumes a code carried everything and their scoped aim feels untouched because it was. The scope dot is the exception: its scale and colour switch have travelled with the code since 30 September.1
Two smaller ones sit outside the format for the same reason. The crosshair flipping to an X over a teammate is cl_crosshair_friendly_warning, and what you see while spectating is cl_show_observer_crosshair; neither is in a share code.3 The old format carried a cl_crosshairgap_useweaponvalue switch. Valve's current variable list does not define it,3 and a current code has no bit for it.
None of that is a hole in the format so much as where its authors drew the line. A share code is the crosshair family plus the scope dot, without the parts that belong to the sniper scope, a teammate marker or a spectator view rather than the crosshair you aim down.
cl_crosshair_recoil and old codes
The bit that holds "follow recoil" is read by decoders for the old format, but the CS:GO encoder never set it.6 So a code shared before CS2 existed, or one produced by a tool that still targets CS:GO, carries cl_crosshair_recoil 0. If you run a crosshair that rides up with the spray pattern and an imported old code flattens it back down, that flag being absent from the source is the reason. A current code stores the flag in its own bit, so this surprise belongs to old codes.
Crosshair sharing shipped in a CS:GO update in April 2020, described in three sentences as a spectator feature for copying another player's crosshair off the scoreboard.7 The follow-recoil control came years later with a different game, and the old format absorbed it without a version bump, which is why a code from before CS2 and one from CS2 looked identical and behaved differently on that one setting.
Read the code before you run it
Applying a code is fast and mostly safe, and the one habit worth keeping is looking at the list first. The decoder prints the 23 lines a current code sets (for an old CSGO- code, the lines that can be converted, with the rest listed as not converted). That list is the complete set of changes. The style number and the size are the two worth a glance before you apply; everything else about your crosshair, including the parts that make an import feel slightly off, is staying exactly where it is.
Sources
Every number in this article traces to a source below. Where a claim could not be sourced, it was cut rather than softened.
- Primary sourceValve Corporation
That the format of the crosshair share code changed, and that scope dot scale and colour preferences are now included in the code. Valve's notes give no layout.
- Primary sourceValve Corporation
That crosshair thickness and length are now in pixels where the old values were "an arbitrary scale", and that the game rescales pixel counts when the display resolution changes.
- Primary sourceSteamTracking (mirror of Valve game files)
The 0 to 9 cl_crosshairstyle list, the ranges of the split distance (0 to 127) and spread limit (0 to 255), that cl_crosshair_sniper_width, cl_crosshair_friendly_warning and cl_show_observer_crosshair are defined variables, and that cl_crosshairgap_useweaponvalue is not defined.
- Reportingsetpos.gg (open source, MIT)
That the current share code is "CS" followed by 44 characters decoding to 32 bytes, and the byte layout of those bytes, including which variables it holds. The project says it is ported from the game client of 8 October 2026. Valve has not published this layout.
- ReportingSyberiaK (open source, MIT)
30 current-format share codes with the console variables the game wrote for each, used to check the decoder on this site.
- Primary sourceValve Corporation
That crosshair sharing shipped in CS:GO in April 2020 as a spectator copy feature, described only as clicking a player to copy their crosshair, with no published account of the code or which settings it covers.
Topics
- CS2
- Crosshair
- Console Commands
- Config
Tools mentioned in this article
- CS2 Crosshair Code Decoder - Decode a CS2 crosshair share code into the cl_crosshair console commands of the current game. Reads the new CS... format and old CSGO- codes.
- CS2 Voice Comms Calculator - Hear specific players in a CS2 or FACEIT demo - upload it to auto-fill players and get the tv_listen_voice_indices commands.
- CS2 Sensitivity Converter - Convert mouse sensitivity between CS2, Valorant, Apex and more, with eDPI and cm/360.
- SteamID Converter - Convert between SteamID64, STEAM_0:Y:Z, SteamID3 [U:1:W], account ID and profile URL.