โ Crosshair Generator โ Make & Preview a Crosshair
Adjust color, outline, lines and dot and check it on different backgrounds ยท share links ยท copy CS2 commands
8 people today ยท free, no install, no sign-up
โ Crosshair editor
Changes are drawn instantly below. 1px means 1 pixel on a 1080p screen, and the box in the bottom right shows the center at 3ร zoom. All backgrounds are our own drawings.
โญ Presets
๐พ My crosshairs (saved in this browser only)
๐ Use it in a game
CS2 console commands (style: Static Cross)
Paste the single line into the game console (~), or put the multi-line version into a config file such as autoexec.cfg. The gap (cl_crosshair_gap) is added to the game's default gap, so it can look a little different from the preview.
Other games: enter the values from the settings table
Crosshair code formats for Valorant and other games aren't published, so no codes are generated. Enter the values below into the matching options (color, outline, inner lines, outer lines, center dot) in the game's settings. Units differ a little between games, so adjust by a step or two while looking at the screen.
Group
Setting
Value
๐ฏ How to choose a crosshair
Color: colors that don't blend into map walls, sky and floors are easiest to see. Green, yellow, cyan and magenta are common. Switch the editor background to check.
Outline: keeps it visible where light and dark backgrounds mix. It also makes the crosshair look thicker, which can cover small targets.
Gap: no gap or a small gap makes precise aiming easier; a wider gap covers less of the target in the center.
Length and thickness: small and thin covers less of the target; big and thick catches your eye faster. At higher resolutions the same number can look smaller.
Center dot: a dot alone keeps the screen clean; a dot plus short lines makes the center easier to find.
T-shape: removing the top line covers less of targets at head height.
Thickness of lines and circles (scales with resolution, at least 1 pixel)
0-32
cl_crosshair_gap
Added to the gap between the center and the lines
-3840-3840
cl_crosshaircolor_r ยท _g ยท _b
Red, green and blue of the color
0-255
cl_crosshaircolor_a
Opacity (0 transparent to 255 opaque)
0-255
cl_crosshair_drawoutline
Black outline. 0 none ยท 1 full ยท 2 half
0-2
cl_crosshairoutline_r ยท _g ยท _b ยท _a
Outline color and opacity
0-255
cl_crosshairdot
Draw a center dot
true / false
cl_crosshair_t
T-shape: hide the top line
true / false
Based on the command list extracted from the game files of the November 11, 2026 CS2 update (build 2000943). In this build the old names cl_crosshairsize, cl_crosshairthickness and cl_crosshairalpha are hidden commands, so this page uses the new names. Updates may change them again.
We couldn't find an officially published format for crosshair codes or commands in Valorant and other games, so they aren't covered. Game names are used only to say which game a setting is for. They are trademarks of their owners, and this page isn't affiliated with any game company.
Frequently asked questions
How do I make a crosshair?
In the editor above, adjust the color, outline, the length, thickness, offset and opacity of the inner and outer lines, and the center dot, and preview it on several backgrounds right away. When you like it, press 'Save as my crosshair' or copy the link.
Can I put the crosshair straight into a game?
For CS2, copy the console commands under the editor and paste them into the game console. For other games, use the settings table to set the same values in the game's own crosshair settings.
Does it make Valorant crosshair codes?
No. Riot Games hasn't published the format of Valorant crosshair profile codes in official documentation, so we don't generate them to avoid producing wrong codes. Instead, enter the values from the settings table (color, outline, inner lines, outer lines, center dot) into the matching options in the game's settings.
What are the CS2 crosshair commands?
cl_crosshairstyle (style), cl_crosshair_length (line length), cl_crosshair_thickness (thickness), cl_crosshair_gap (gap), cl_crosshaircolor_r, _g, _b and _a (color and opacity), cl_crosshair_drawoutline (outline), cl_crosshairdot (center dot), cl_crosshair_t (T-shape) and others. This page checked the names and ranges against the command list in the November 2026 game files.
The gap in CS2 looks different from the preview.
CS2's cl_crosshair_gap is added to the game's own default gap, so even with the same number as this editor's offset (pixels from the center to the line), the real gap can differ a little. Adjust the gap by a step or two in game. Length and thickness also scale with resolution, so treat the preview as a guide.
How do share links work?
Press 'Copy link' to copy a link with your current crosshair settings after the # in the address. When a friend opens it, the same crosshair appears. The settings live only in the address and are never saved on a server.
Which crosshair colors are easiest to see?
Colors that don't blend into the background are easiest to see. Green, yellow, cyan and magenta differ from the walls, sky and floor colors of many maps, so they are popular. Switch the editor background between sky, sand, night, wall, grass and the four-way mix to check it stays visible everywhere, and if it's hard to see, turn on a black outline.