Crosshair Mechanics

How to Import, Export & Decode CSGO- Crosshair Codes in CS2

Exact menu paths to import any CSGO- share code in CS2, how to clone a spectated teammate’s crosshair mid-match, how Valve’s Base-57 binary format works, and fixes for every error.

CS2 Source 2 Verified Updated November 26, 2026 By Danilo "Kestrel" Reyes 8 min read

Three Ways to Import a Crosshair in Counter-Strike 2

Whether you copied a CSGO- share code from a stream, spotted a teammate's crisp reticle while spectating, or built a custom console block in our Crosshair Generator, Counter-Strike 2 gives you three reliable import workflows.

Method 1: Standard UI Import (No Console Needed)

  1. Copy a valid share code structured as CSGO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (the prefix CSGO- followed by 25 Base-57 characters grouped into five blocks of five).
  2. Launch CS2 and click the Settings gear icon in the upper-left corner.
  3. Select the Game tab, then click the Crosshair sub-tab.
  4. Beneath the preview viewport, click Share or Import.
  5. Paste your code into the input bar and press Import. The live preview updates immediately and writes the new values to your active user profile.
Back Up Your Old Crosshair Before Importing! Before clicking Import, click Copy your code first and paste your existing CSGO- string into a text note or Discord DM. CS2 does not offer an "Undo Crosshair Import" button once overwritten.

Method 2: Clone a Teammate's Crosshair Live Mid-Match

You never have to spam team chat asking for a teammate's share code during Premier or FACEIT:

  1. Verify that Settings → Game → Crosshair → Show Player Crosshairs is set to Friends & Party or Everyone (if set to No, you only see your own crosshair when spectating).
  2. While dead and spectating the player, hold Tab to open the scoreboard, right-click to free your mouse cursor, click the player's name, and choose Copy Crosshair.
  3. Immediately inspect the exact numeric values CS2 just imported by typing find cl_crosshair in the developer console, or export the code via Settings → Game → Crosshair → Share or Import → Copy your code.

Method 3: Import via Developer Console & autoexec.cfg

Share codes are fast for casual sharing, but serious players store their crosshair as explicit console commands inside autoexec.cfg. Why? Plain-text commands let you tweak a single parameter (such as tightening cl_crosshairgap by 0.5 or toggling cl_crosshair_drawoutline) without regenerating an opaque share string, and they survive Steam Cloud resets.

Inspect or Reset Your CS2 Crosshair via Console
// Print every currently active crosshair cvar to console
find cl_crosshair

// Reset to CS2 factory crosshair if something looks broken
cl_crosshairstyle 4; cl_crosshairsize 2; cl_crosshairgap -2; cl_crosshairthickness 0.5; cl_crosshairdot 0; cl_crosshair_drawoutline 0; cl_crosshaircolor 1; cl_crosshairalpha 255

Under the Hood: How Valve's CSGO- Base-57 Format Works

Ever wonder why a 25-character share code never contains 0, 1, uppercase I, lowercase l, or lowercase g? Valve designed a custom 57-character Base-57 alphabet (ABCDEFGHJKLMNOPQRSTUVWXYZabcdefhijkmnopqrstuvwxyz23456789) specifically to eliminate visually ambiguous glyphs when players copy codes from Twitch streams or low-bitrate videos.

CSGO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX → Base-57 Decode → 18-Byte Payload Byte 0 Checksum sum(1..15)%256 Byte 1 Version Format ID Byte 2 (Bitfield) Style, Recoil, Outline Dot & T-Style flags Bytes 3–6 RGBA Color 0–255 per ch Bytes 7–17 Gap, Length, Thickness Outline Width & Dynamic Splits Decoded via BigInt Horner polynomial evaluation. Any single typo breaks Byte 0 checksum verification.
Valve packs all crosshair flags, RGBA channels, and geometry offsets into 18 bytes validated by a modulo-256 checksum.

Troubleshooting: Every "Invalid Crosshair Code" Error Explained

Symptom / ErrorRoot CauseExact Fix
CS2 says "Invalid share code" immediately Trailing space, hidden newline from Discord, or a single wrong uppercase/lowercase letter breaking Byte 0's checksum. Paste into a plain text bar, trim whitespace, and verify there are exactly 5 hyphenated groups of 5 characters after CSGO-.
Code starts with CSGO- but still rejects It is a Match Demo Share Code, not a crosshair code (both share the CSGO- prefix!). Match codes belong in the Watch tab or replay stats sites, not Crosshair settings. See our Match Share Codes guide.
Imported crosshair looks much thinner or thicker than on stream The original player uses 1280×960 4:3 stretched while you play 1920×1080 or 1440p native. Adjust size/thickness up by +0.5 using our 1080p vs. 4:3 Scaling Guide.
Imported crosshair reverts on next game launch Your autoexec.cfg contains older cl_crosshair* lines that overwrite your UI import every time CS2 starts! Update or delete the old crosshair lines inside game\csgo\cfg\autoexec.cfg.

Where CS2 Stores Your Imported Crosshair on Disk

If you ever need to back up your UI settings without using an autoexec, Valve saves your crosshair cvars in Steam's local userdata file:

CS2 Local User Convars File Path
C:\Program Files (x86)\Steam\userdata\<YourSteamID3>\730\local\cfg\cs2_user_convars_0_slot0.vcfg

Keep in mind that if you play on multiple Steam accounts on the same PC, each account has its own numeric <SteamID3> subfolder — which is another strong reason to centralize your setup inside a shared autoexec.cfg using our Autoexec Builder.

Frequently Asked Questions

Can I import a CS2 crosshair code back into the csgo_legacy beta branch?

Standard static parameters (size, gap, thickness, RGB, outline, dot) import cleanly because the 18-byte layout is shared, though CS2-exclusive flags like Follow Recoil (cl_crosshair_recoil) are ignored in CS:GO.

Why does the Share or Import button not appear for me?

Make sure you are under Settings → Game → Crosshair (not HUD) and scroll slightly inside the Crosshair preview pane if playing on a low 4:3 resolution like 1024×768 where the button sits near the bottom edge.

Can I save multiple crosshair presets inside CS2 without external websites?

CS2 only stores one active crosshair in the UI, but you can create separate files like xh_rifler.cfg and xh_dot.cfg in game\csgo\cfg\ and switch mid-warmup with exec xh_dot.

Are CSGO- crosshair codes safe to paste from strangers?

Yes. Importing a code via the Crosshair UI only parses numeric crosshair parameters and cannot execute arbitrary console commands or keybinds.

Danilo "Kestrel" Reyes · Lead CS2 Config Maintainer & Former Amateur IGL

Long-time Counter-Strike player (3,800+ hours across CS:GO and CS2) maintaining live-tested Source 2 console references, crosshair scaling experiments, and Valve-compliant autoexec templates. Editorial & testing process →