CS2 Crosshair Code Decoder
Decode a CSGO-xxxxx crosshair share code into cl_crosshair console commands.
Reviewed by ZeroUtil Editorial Team · Last reviewed
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; an invalid or mistyped code is flagged by its checksum rather than silently producing wrong settings.
- 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-58 encoded block of 18 bytes using a custom dictionary that drops visually ambiguous characters. 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.
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-58 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.
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 will not match and the tool reports the code as invalid rather than showing wrong settings. Re-copy the full code, including the CSGO- prefix and all four dashes.
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.
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 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.
- Color Converter
Convert colors between HEX, RGB, HSL and CMYK formats.
- Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal.
More Gaming Tools
CS2 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