Map Coordinates Finder – Click to Get Latitude & Longitude
Click anywhere on a world map to instantly see its coordinates in decimal degrees and DMS. Copy them for use in GPS or school projects.
UD5 Toolkit
Extract coordinates from SVG path data into structured arrays
Live preview appears here
d attribute in an SVG <path> element defines the shape of the path using a sequence of commands and coordinate values. It's the core data string that tells the browser how to draw lines, curves, arcs, and complex shapes. Each command is a letter (like M, L, C, Q, A, Z) followed by numerical parameters that specify positions, control points, radii, and flags. Understanding and parsing this data is essential for SVG manipulation, animation, and coordinate extraction in web development.
M (absolute) / m (relative) — lifts the pen and moves to a new position.L/l — draws a straight line. H/h for horizontal, V/v for vertical lines.C/c — with two control points. S/s for smooth continuation.Q/q — with one control point. T/t for smooth continuation.A/a — elliptical arc with 7 parameters (rx, ry, rotation, large-arc, sweep, x, y).Z/z — closes the path back to the start of the subpath.
M, L, C) use coordinates relative to the SVG canvas origin (0,0). Relative commands (lowercase like m, l, c) use offsets from the current pen position. For example, M 50 50 L 100 50 draws from absolute (50,50) to (100,50), while m 50 50 l 50 0 draws the same shape but all coordinates are relative to the starting point. This tool can convert all relative commands to their absolute equivalents with the toggle switch.
A rx ry x-axis-rotation large-arc-flag sweep-flag x y. rx and ry are the ellipse radii. x-axis-rotation rotates the ellipse. large-arc-flag (0 or 1) chooses between the smaller or larger arc. sweep-flag (0 or 1) determines the drawing direction (clockwise or counter-clockwise). The final x,y is the endpoint. This tool correctly parses all 7 parameters and displays them clearly in the results table.
[x, y] coordinate pairs representing where the pen lands after each command, perfect for plotting or animation keyframes. Flat Array — all numeric values in a single flat array preserving the original order, useful for libraries that expect raw number sequences. All formats can be toggled between raw and absolute coordinates.
M 10 10 20 20 30 30 is parsed as MoveTo followed by implicit LineTo commands). It manages mixed separators (commas, spaces, tabs, newlines) and works with both standard and minified path strings. If a path contains errors, the tool attempts partial parsing and displays a helpful warning message rather than failing silently.
Click anywhere on a world map to instantly see its coordinates in decimal degrees and DMS. Copy them for use in GPS or school projects.
Find the exact midpoint between two points in a 2D plane. Input (x₁, y₁) and (x₂, y₂) to get the midpoint coordinates and a visual representation.
Enter two city names or coordinates and get the straight‑line distance in miles/km. Local calculation.
Parse an SVG path’s d attribute and list all the commands and absolute coordinates. Convert relative to absolute. Local.
Override your browser's geolocation to any coordinates and test how your app responds. For development and privacy testing.
Transform an image from rectangular to polar coordinates (and back). Create amazing circular swirl effects. Local canvas.
Calculate the area of an irregular polygon by entering its vertex coordinates. Uses the shoelace formula. Pure math.