Bought Pro? It is on your account. Sign in
SVG Creator Go Pro

Location pin icon (free SVG)

In shortA map pin marks an address, a store location, delivery tracking or "near me" results. Download this location pin icon free in four styles as a 24×24 SVG that uses currentColor; every file is under 1 KB and free for commercial use.

Style collections: outline · filled · duotone · glyph · Updated 2026-10-21

Location pin icon, outline style, on a light backgroundLocation pin icon, outline style, on a dark background
Outline · 284 bytes
Location pin icon, filled style, on a light backgroundLocation pin icon, filled style, on a dark background
Filled · 292 bytes
Location pin icon, duotone style, on a light backgroundLocation pin icon, duotone style, on a dark background
Duotone · 395 bytes
Location pin icon, glyph style, on a light backgroundLocation pin icon, glyph style, on a dark background
Glyph · 220 bytes

Variations

The same location pin drawn four ways. Open any of them in the editor to recolour it, change the stroke, rotate or export PNG.

Location pin icon at 16 pixels
16px
Location pin icon at 20 pixels
20px
Location pin icon at 24 pixels
24px
Location pin icon at 32 pixels
32px
Location pin icon at 48 pixels
48px

Code

Inline SVG (HTML)

<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21.5s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z"/><circle cx="12" cy="9.5" r="2.6"/></svg>

React component

export default function LocationPinIcon({ size = 24, color = "currentColor", ...props }) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      stroke={color}
      strokeWidth={2}
      strokeLinecap="round"
      strokeLinejoin="round"
      {...props}
    >
      <path d="M12 21.5s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z" />
      <circle cx="12" cy="9.5" r="2.6" />
    </svg>
  );
}

CSS mask (recolour with color)

.icon-location-pin {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E") no-repeat center / contain;
}

Image tag

<img src="https://mumshadjawad.com/svg-creator/icons/location-pin-outline.svg" width="24" height="24" alt="">

Not sure which to use? See SVG icons in React, SVG icons in CSS and how to change an SVG icon's colour.

Details

Good for
location, address, map, store finder
Grid
24 × 24, viewBox="0 0 24 24", 2px safe area
Outline stroke
2px, round caps and joins
Shapes
2 elements (outline, classic)
File sizes
outline 284 B · filled 292 B · duotone 395 B · glyph 220 B
Licence
Free for personal and commercial use, no attribution required
Collections
UI icons for apps and websites, communication icons

Related icons

Need a different location pin?

Describe it ("location pin, minimal, rounded") and get four new variations.
Generate variations