Crosshair Generator
Design a custom crosshair with a live preview on dark, light, and map-style backgrounds. Tune style, color, size, gap, and outline, then copy CS2 console commands or download a transparent PNG.
The preview approximates how the crosshair renders at 1080p.
Preview background
Style
Color
CS2 console commands
cl_crosshairstyle 4; cl_crosshair_t 0; cl_crosshairsize 3; cl_crosshairthickness 1; cl_crosshairgap 0; cl_crosshairdot 0; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 102; cl_crosshairalpha 255; cl_crosshairusealpha 1
Build a Crosshair You Can Actually Aim With
A crosshair that blends into the map costs you fights you should have won. This tool lets you test a design against dark corners, bright walls, and a map-style background before you commit to it in a match. The sliders use the same value ranges as the CS2 console settings, so what you build here transfers to the game with one paste. Valorant players can read the same numbers straight into the in-game crosshair menu.
Why Use This Crosshair Generator?
Live Preview on Three Backgrounds
Check your design against a dark scene, a bright scene, and a map-style backdrop, because a crosshair that works on one often disappears on another.
Ready-Made CS2 Console Commands
One click copies a complete command line with size, gap, thickness, color, and alpha values that match exactly what you see in the preview.
Same Units as the Game
Size, gap, and thickness sliders use CS2 value ranges instead of arbitrary pixels, so nothing gets lost in translation.
Transparent PNG Export
Download your crosshair as a transparent 256-pixel PNG for thumbnails, stream overlays, or settings guides.
How this Crosshair Generator works
The preview is drawn on an HTML canvas, the same drawing surface browsers use for 2D games. Every time you move a slider, the tool clears the canvas and rebuilds the crosshair from four rectangles: a left, right, top, and bottom arm placed around the exact center point. The size slider controls how long each rectangle is, thickness controls its width, and gap controls how far each arm sits from the center. Choosing the T-style simply skips the top rectangle, and the circle style swaps the rectangles for a stroked ring.
The sliders use the same value ranges as the CS2 console settings, so the numbers you pick here transfer directly to the game. When you press the copy button, the tool builds a single line of console commands — cl_crosshairsize, cl_crosshairgap, cl_crosshairthickness, and the rest — from your current settings and places it on your clipboard. Your chosen color is converted from its hex value into the separate red, green, and blue values the game expects, and the opacity slider becomes the alpha value.
The outline option draws a slightly larger black shape behind each arm before the colored shape goes on top, which keeps the crosshair visible against both bright skies and dark corners. The PNG download redraws your design onto a transparent 256-pixel canvas and saves it as a file. Everything runs locally in your browser tab; no settings, images, or personal data leave the page.
How to use this Crosshair Generator
Pick a style and color
Choose cross, T-style, circle, or dot, then select a preset color or set your own with the color picker.
Tune it on real backgrounds
Adjust size, gap, thickness, and opacity while switching between dark, light, and map-style preview backgrounds.
Export your crosshair
Copy the generated CS2 console commands with one click, or download the design as a transparent PNG.
Frequently Asked Questions
How do I use the generated crosshair in CS2?
Does this work for Valorant too?
What does the gap value actually change?
Should my crosshair be big or small?
What color works best for a crosshair?
Why does the crosshair look slightly different in game?
Can I get banned for using a custom crosshair?
What is the PNG download for?
What does T-style mean and why do players use it?
Does this tool upload or store anything?
Related Tools
AI Gamertag Generator
Generate unique, creative gamertags using AI. Find cool and memorable gaming names for Xbox, PSN, PC, and more.
Reaction Time Test
Take a free online reaction time test. Wait for the green signal, react as fast as you can, and compare your average across five attempts.
First Person Shooter Test
Test FPS aim speed and accuracy in your browser. Hit moving targets, track reaction time, and review your score in a fast 15, 30, or 60 second round.
GPU Stress Test
Stress test your GPU right in the browser with a live WebGL fractal render. Watch real-time FPS, pick an intensity level, and get an instant performance score.
Demon Name Generator
Create dark and sinister demon names for fantasy characters, games, and creative writing projects.
Minecraft Command Generator
Generate Minecraft commands for Java and Bedrock. Create give, summon, teleport, and effect commands.
The Crosshair Generator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

