CS2 Crosshair Code Decoder
Decode a CSGO-xxxxx crosshair share code into cl_crosshair console commands.
Reviewed by Selim Ataballyev
Runs 100% in your browser - your data never leaves your device
Paste a share code above to see the cl_crosshair* commands.How to Use the Crosshair Code Decoder
- Copy a share code - from a pro settings site, a teammate, or CS2 itself (Settings > Game > Crosshair > Share).
- Paste it into the input. Decoding happens instantly, and a code whose checksum does not match is flagged rather than decoded. The checksum is one byte, so it catches almost every typo but not quite all of them - copy and paste rather than retyping.
- Read the settings table - style, size, thickness, gap, colour, alpha, outline, centre dot, T-style, follow recoil and the rest.
- Copy the console commands with one click and paste them into the CS2 console to apply the crosshair.
What the Decoder Actually Does
A CSGO-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx code is a base-57 encoded block of 18 bytes using a custom dictionary that drops five visually ambiguous characters (0, 1, I, l and g). The decoder reverses the string, decodes it to bytes, validates the one-byte checksum, then unpacks each field: size and gap are signed fixed-point values (stored as tenths), colour is raw RGB plus a preset index, and booleans like the centre dot, outline and CS2's follow-recoil flag are bit-packed. The algorithm matches the community reference implementation used by CS Demo Manager, and everything runs in your browser - the code never leaves the page.
A match share code looks identical and is not the same thing: same prefix, same alphabet, same 18 bytes, but no checksum and three match IDs where the crosshair settings would be. If a code from the Watch tab is rejected here, that is why. The match share code decoder reads those.
Why Decode Instead of Just Importing?
- Tweak before applying. Import takes the crosshair as-is; decoding shows you the exact cl_crosshair* values so you can nudge the gap or alpha before pasting.
- Move settings into a config. Paste the commands into your autoexec.cfg so the crosshair survives reinstalls and applies on every machine you play on.
- Understand a pro's setup. Seeing that a crosshair is style 4, size 1, thickness 0.5 with -2 gap teaches you more than a screenshot does.
Frequently Asked Questions
How do I use a CS2 crosshair share code?
Paste the CSGO-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx code into this tool. It decodes the code into the matching cl_crosshair* console commands. Copy them, paste them into the CS2 console, and your crosshair updates instantly. CS2 can also import a code directly from the crosshair settings menu.
What does the share code actually contain?
The code is a base-57 encoded block of 18 bytes. The first byte is a checksum; the rest pack every crosshair setting - style, size, thickness, gap, outline, colour (RGB), alpha, centre dot, T-style and more - as signed fixed-point values and bit flags. Four of the 18 bytes carry nothing at all.
Why does it say my code is invalid?
Each code carries a one-byte checksum. If a character is missing, swapped, or mistyped, the checksum almost always fails to match and the tool reports the code as invalid. Re-copy the full code, including the CSGO- prefix and all four dashes. One byte can only do so much: about 1 in 280 single-character typos still passes the check, and decodes to a different crosshair without complaint.
Is my crosshair code sent to a server?
No. Decoding is pure math that runs entirely in your browser. There is no network request and nothing is stored.
Does this work for both CS:GO and CS2 codes?
Yes. CS2 kept the same CSGO- share-code format, so codes shared for either game decode the same way and produce valid cl_crosshair commands.
Learn more
Related tools
- 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 Match Share Code Decoder
Decode a CSGO-xxxxx match share code into its match ID, outcome ID and token, and copy the command that downloads the demo.
- 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.
More Gaming Tools
CS2 Demo Tick Calculator
Convert a CS2 demo tick to a timestamp and back, and copy the demo_gototick command that jumps there.
Open toolCS2 Demo Voice Extractor
Download each player's voice from a CS2 or FACEIT demo as a separate audio file, and see who talked when, round by round.
Open toolCS2 Match Share Code Decoder
Decode a CSGO-xxxxx match share code into its match ID, outcome ID and token, and copy the command that downloads the demo.
Open toolCS2 Sensitivity Converter
Convert mouse sensitivity between CS2, Valorant, Apex and more, with eDPI and cm/360.
Open toolCS2 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.
Open toolSteamID Converter
Convert between SteamID64, STEAM_0:Y:Z, SteamID3 [U:1:W], account ID and profile URL.
Open tool