How does the CS2 crosshair generator work?
Pick a style, drag the sliders and choose a color. The preview updates as you go, on five simple scenes: a bright wall, a dark corridor, open sky, a sandy yard and a green field. Checking a crosshair on light and dark scenes is the fastest way to see if it stays visible everywhere.
When you are happy, copy the console commands and paste them into the CS2 console. You can also download them as crosshair.cfg and load it with exec crosshair.
What changed with CS2 crosshairs in September 2026?
Valve rebuilt the crosshair system in the update of 22 September 2026. The patch notes say "Crosshairs have been updated to be resolution independent" and the default is now "Dynamic Quad." A day later Valve explained that length and thickness are now set in pixels, and that the game rescales them for you if you change resolution.
Several old commands are gone from the current command list, including cl_crosshaircolor, cl_crosshairgap, cl_fixedcrosshairgap, cl_crosshair_outlinethickness and cl_crosshairusealpha. The new ones have clearer names, such as cl_crosshair_length, cl_crosshair_gap and cl_crosshair_thickness. This tool only writes the new commands.
Which crosshair commands does the tool use?
All limits and defaults below come from the current CS2 command list and match the sliders in the game's own settings menu.
| Command | What it does | Range | Default |
|---|---|---|---|
cl_crosshairstyle | Style, 0 to 8 (see below) | 0 to 8 | 7 |
cl_crosshair_length | Length of each bar in pixels | 0 to 255 | 8 |
cl_crosshair_thickness | Thickness in pixels (at least 1 pixel is drawn) | 0 to 31 | 2 |
cl_crosshair_gap | Offset added to the gap from the center | 0 to 128 | 4 |
cl_crosshair_drawoutline | 0 none, 1 full, 2 half | 0 to 2 | 1 |
cl_crosshaircolor_r/g/b | Color | 0 to 255 each | 0, 255, 0 |
cl_crosshaircolor_a | Opacity | 0 to 255 | 255 |
cl_crosshairdot | Center dot | 0 or 1 | 0 |
cl_crosshair_t | Hide the top bar | 0 or 1 | 0 |
cl_crosshair_recoil | Follow predicted recoil | 0 or 1 | 1 |
The styles are 0 Dynamic Cross, 1 Dynamic Circle, 2 Dynamic Cross (Legacy), 3 Static Circle, 4 Static Cross, 5 Static Cross (Shot Feedback), 6 Dot Only, 7 Dynamic Quad and 8 Static Square. The game says styles 0, 1 and 7 track your weapon's real inaccuracy. For those, the tool also shows cl_crosshair_dynamic_spread_limit, which caps how far the dynamic parts can spread.
The gap can no longer go below 0. Old guides that set a negative gap were written for the old system.
What happened to share codes?
CS2 still has share codes, but the update changed their format. Codes made before 22 September 2026 have a version number of 1 inside them. New codes carry a different version and a new layout that has not been published. We will not guess it. So this tool gives you console commands for now, and share codes are coming as soon as we can test them against the game.
You can still paste an old code into "Read an old share code". The tool decodes it and shows the old settings it held, like size, gap, color and outline. We wrote the decoder ourselves from the layout documented in the open-source csgo-sharecode project (MIT license). It passes all six sample codes from that project's tests and matches the published settings of six pro codes.
Old values do not map one to one onto the new pixel settings, so use them as a guide.
Worked example 1: a small static cross
You want a small, clean cross that does not move when you shoot.
- Pick style 4, Static Cross.
- Set length 6, thickness 1 and gap 2.
- Keep the full outline and pick cyan.
The tool writes:
cl_crosshairstyle 4
cl_crosshair_length 6
cl_crosshair_thickness 1
cl_crosshair_gap 2
cl_crosshair_drawoutline 1
cl_crosshaircolor_r 0
cl_crosshaircolor_g 255
cl_crosshaircolor_b 255
plus the dot, T, opacity and recoil lines. Flip between the bright wall and the dark corridor. The black outline keeps it readable on both.
Worked example 2: a T-style with a dot
You like a T shape that leaves the top of the target clear.
- Pick Static Cross again.
- Tick "T style (no top bar)" and "Center dot".
- Set thickness 2 and gap 3, then choose a bright yellow.
The preview shows three bars and a dot. On the sandy yard, yellow can blend in. Switch to pink or cyan if you lose it.
How do I make my crosshair stick?
Crosshair settings are saved by the game, but pasting them in an autoexec keeps them safe after a reset or on a new PC. Put the commands in autoexec.cfg in the game\csgo\cfg folder. The autoexec builder can make that file for you.
Want ideas first? Browse the pro crosshair library, then set up your gun position with the viewmodel generator. If a site asks you to log in with Steam to get a crosshair or config, read how to spot fake Steam login pages first.
When should you use this tool?
Use it after the September 2026 update if your old crosshair looks wrong, when you set up a new PC, or when you want to try a new style without clicking through menus. The preview is a close drawing, not a pixel copy of the game, so give your final pick a quick check in a practice match.