Livecounts.nl
Illustration of a teal crosshair in front of abstract blocks and a settings card with sliders

CS2 crosshair generator

Design your Counter-Strike 2 crosshair with a live pixel preview, then copy it as a console command, autoexec.cfg lines or a crosshair code you can import in CS2.

Crosshair generator

Design your crosshair

New CS2 pixel system

Drawn from your settings at 1920 × 1080. At 1×, one crosshair pixel is one pixel on your screen; small details such as the exact gap can differ by a pixel in game.

Starter crosshairs

Color and transparency
Size pixels at 1080p
Outline
Options

Split settings (Dynamic Cross (Classic) only)

Scope dot, sniper lines and screen height

CS2 saves this as cl_crosshair_screen_height and scales the crosshair when you play at another height. Keep 1080 unless you want the numbers to be exact pixels at your own resolution.

Copy your crosshair

Everything here updates as you change the crosshair. Pick the way you like best.

Crosshair code

In CS2: Settings, Crosshair / Scopes, Share or Import, then paste and select Import.

Console command


          

One line with every setting, separated by semicolons. Paste it into the developer console and press Enter.

autoexec.cfg


          

One command per line, for a config file that sets your crosshair every time CS2 starts. cl_crosshair_screen_height comes last: CS2 describes it as the resolution your sizes were made at, which changes whenever a size setting is updated.

Your crosshair is saved in this browser only. A share link carries it in the address after the #.

How to put your crosshair in CS2

  1. Start from a starter crosshair or pick a style, then set the colour, thickness, length and gap. Sizes are pixels at 1920 × 1080 unless you change the screen height, and at 1× the preview shows them at real size.
  2. Fastest: copy the crosshair code. In CS2, open Settings, select the Crosshair / Scopes tab and Share or Import, paste the code and select Import.
  3. Or use the console: in Settings, Game, set Enable Developer Console to Yes. Press the key under Esc (`, with ~ on US keyboards) to open it, paste the command with Ctrl+V and press Enter. If that key does nothing, the Game tab has a Go To Console Key Binding button.
  4. To set the crosshair at every start, paste the autoexec.cfg lines into a file called autoexec.cfg in the game\csgo\cfg folder of your CS2 install (in Steam: right-click Counter-Strike 2, Manage, Browse local files). If it doesn't load, add +exec autoexec to the game's launch options or type exec autoexec in the console.

Advertisement

What each setting does

These are the settings of the Crosshair / Scopes tab and the console variables behind them, with the ranges CS2 allows. Sizes are pixels.

Crosshair settings, their console variables, ranges and what they do
Setting and console variableRange and what it does
Stylecl_crosshairstyle0 to 9. The shape; see the styles below. The default is 7, Dynamic Quadrant.
Color and Transparencycl_crosshaircolor_r, _g, _b, _a0 to 255 each. Red, green and blue mix the colour; a is the opacity, from 0 (invisible) to 255 (solid).
Outlinecl_crosshair_drawoutline0, 1 or 2. No outline, a full outline, or a half outline that only draws the top and left edges.
Outline Color and Transparencycl_crosshairoutline_r, _g, _b, _a0 to 255 each. Colour and opacity of the outline, black by default.
Thicknesscl_crosshair_thickness0 to 32. Thickness of the bars and circles. Never thinner than 1 pixel.
Lengthcl_crosshair_length0 to 255. Length of each bar.
Gapcl_crosshair_gap0 to 128 in the menu, −10 to 128 for Dynamic Cross (Classic). Space between the centre and the bars.
Center Dotcl_crosshairdot0 or 1. Adds a dot in the middle.
T Stylecl_crosshair_t0 or 1. Hides the top bar.
Follow Recoilcl_crosshair_recoil0 or 1. The crosshair leaves the centre of the screen to follow the weapon's recoil pattern. On by default.
Dynamic Spread Limitcl_crosshair_dynamic_spread_limit0 to 255. Limits how far the dynamic styles spread out at maximum inaccuracy.
Split settingscl_crosshair_dynamic_splitdist, _splitalpha_innermod, _splitalpha_outermod, _maxdist_splitratio0 to 127, 0 to 1, 0.3 to 1 and 0 to 1. Dynamic Cross (Classic) only: the distance at which the bars split in two, the opacity of the inner and outer parts, and how the length is shared between them.
Quadrant Sizecl_crosshair_dynamic_maxdist_splitratio0 to 1. Static Quadrant only, sharing the variable above: how much of a circle the four quadrants fill.
Scope dotcl_ironsight_usecrosshaircolor, cl_ironsight_dot_scale0 or 1; 0.1 to 2. Gives the dot in scopes your crosshair colour, and sets its size. Both are part of the crosshair code.
Sniper crosshair thicknesscl_crosshair_sniper_width1 to 6. Width of the lines in sniper scopes. Not part of the code.
Friendly Fire Reticle Warningcl_crosshair_friendly_warning0 or 1. Shows a warning on the crosshair when you aim at a teammate. Not part of the code.
Not in the menucl_crosshair_screen_height240 and up. The screen height your sizes were made for. CS2 scales the crosshair from it.

The ten crosshair styles

The number is the value of cl_crosshairstyle. Every style uses colour, outline and thickness. CS2 only shows the other settings a style uses, and so does the generator.

The ten CS2 crosshair styles
Style in CS2What you see and its other settings
4Static CrossFour bars that never move. Also: Center Dot, Gap, Length, T Style.
3Static CircleA ring that never moves. Also: Center Dot, Gap.
8Static SquareA square outline that never moves. Also: Center Dot, Gap.
6Dot OnlyA single dot. Nothing else.
9Static QuadrantFour quarter-circle pieces that never move. Also: Center Dot, Gap, Quadrant Size.
0Dynamic CrossBars that move out with your weapon's spread. Also: Center Dot, Gap, Length, T Style, Dynamic Spread Limit.
1Dynamic CircleA ring sized by your weapon's spread. Also: Center Dot, Dynamic Spread Limit.
2Dynamic Cross (Classic)The older dynamic cross whose bars split in two. Also: Center Dot, Gap, Length, T Style, split settings.
5Dynamic Cross (Legacy/Shot Feedback)A cross that reacts when you shoot. Also: Center Dot, Gap, Length, T Style.
7Dynamic Quadrant (default)A still cross plus a ring of quadrants that shows your weapon's accuracy. Also: Center Dot, Gap, Length, T Style, Dynamic Spread Limit.

Valve says the new dynamic styles show your weapon's real spread and inaccuracy, while Dynamic Cross (Legacy/Shot Feedback) only reacts when you shoot. The preview draws them standing still; Show spread and Show a shot only play a rough impression.

Why your crosshair looks bigger at a lower resolution

Length, thickness and gap are counted in pixels, and a pixel is bigger when your screen has fewer of them. On the same monitor, 1280 × 960 has 960 rows of pixels instead of 1080, so every pixel is 12.5% taller and a 3-pixel bar covers more of the screen. Stretched 4:3 on a 16:9 monitor also widens the whole picture by a third, so vertical bars look thicker.

CS2 corrects most of this. It stores the screen height you made the crosshair at, cl_crosshair_screen_height, and rescales the pixels when the resolution changes. In Valve's example, a 2-pixel thickness made at 1280 × 720 becomes 4 pixels at 2560 × 1440. A screen can only show whole pixels, though, and the thickness never drops below 1 pixel, so very thin crosshairs still look relatively thicker at low resolutions.

This generator uses 1920 × 1080 as its reference: every command and code sets cl_crosshair_screen_height 1080 unless you change it, and the preview draws the crosshair from your settings at the pixel sizes CS2 uses on a 1080-pixel-tall screen. Small details, such as the exact gap, can differ by a pixel in game. At 2560 × 1440, CS2 scales it by 1440 ÷ 1080 = 1.33; at 1280 × 960, by 0.89.

What changed in September 2026

On 22 September 2026, CS2 moved its crosshair to a new Crosshair / Scopes tab, made Dynamic Quadrant the default and switched length, thickness and gap to pixels; updates on 23 and 30 September added the half outline, an outline colour and more styles. On 30 September the crosshair code changed as well, to make room for the outline colour and the scope dot settings. Old values and codes don't carry over one to one, so rebuild an old crosshair with the preview. This page reads and writes the current code format and was tested with codes CS2 generated and with six pro players' codes from recent matches, whose settings ProSettings.net publishes.

Sources, checked 20 November 2026: Valve, Counter-Strike 2 update notes of 22 September 2026, 23 September 2026 and 30 September 2026; the CS2 game files as tracked by SteamDB in GameTracking-CS2: the console variable list (DumpSource2/convars.txt, build of 17 November 2026), the Crosshair / Scopes and Game settings menus, the default key bindings and the English game text; akiver, csgo-sharecode (layout of the crosshair code); ProSettings.net, player pages (pro codes and published settings used as test cases).

Your crosshair stays in your browser

The generator runs on your device. Your crosshair, background and zoom are saved only in this browser, and Reset removes them. A share link carries the crosshair after the # in the address, a part browsers don't send to the server.

Frequently asked questions

How do I import a crosshair code in CS2?

Open Settings, go to the Crosshair / Scopes tab and select Share or Import. Paste the code, which starts with CS, and select Import. The same window has a Copy button for your own code.

Why does CS2 say "Invalid or old crosshair code"?

CS2 changed its crosshair code on 30 September 2026. Older codes, which start with CSGO- and contain dashes, are no longer accepted. Current codes start with CS followed by 44 letters and numbers. Rebuild the crosshair here and copy its new code.

What do length, thickness and gap mean in CS2?

They are pixels. In Valve's example, thickness 1, length 8 and gap 4 give a 1-pixel-wide crosshair with 8-pixel bars and a 4-pixel gap. CS2 scales them when you play at another resolution than the one you made the crosshair at.

What is the default CS2 crosshair?

Since 22 September 2026 it is the Dynamic Quadrant style: green (0, 255, 0) at full opacity, length 8, thickness 2, gap 4, a full black outline and Follow Recoil on. Select CS2 default above to load it.

Where did cl_crosshairsize and the colour presets go?

The September 2026 crosshair update replaced them. Sizes now use cl_crosshair_length, cl_crosshair_thickness and cl_crosshair_gap, and colour uses cl_crosshaircolor_r, _g, _b and _a. The numbered colour presets (cl_crosshaircolor) and cl_crosshairusealpha no longer exist.

More free tools

Aim trainer Practise flicks with your new crosshairSensitivity converter Keep the same aim in every gameReaction time test How fast are your reflexes?CPS test Count your clicks per secondRefresh rate test Check the Hz your screen runs atAll free tools Every tool on Livecounts.nl

Advertisement