Skip to content
LidarKit

PCD viewer in your browser

Open a PCL point cloud, whether it's a ROS capture, a SLAM map or a depth-camera frame, and look around it in 3D. Every field is listed. The file is read on this computer and isn't uploaded.

  • ASCII, binary, compressed
  • Organized clouds
  • Every field listed
  • No install

Drop your PCD file here

or choose a file

ASCII, binary and binary_compressed · PCL, ROS and SLAM maps · multi-gigabyte files welcome

No file to hand? — 150 × 150 m of central Brussels, airborne LiDAR, 2014, 158,098 points as PCL's x y z rgb, compressed, in local metres (1.95 MB).

What you can do with a PCD here

Press Try the sample above for a coloured city block saved as binary_compressed PCD, or drop in a file of your own.

  • DATA · 3 ENCODINGS

    ASCII, binary or compressed

    All three DATA types open, binary_compressed included. Compressed files are unpacked block by block as they're read, never all at once.

  • ORGANIZED · 640 × 480

    Organized clouds

    Depth cameras and spinning LiDARs save a grid, with NaN wherever nothing came back. Those slots are left out and counted instead of piling up at the origin.

  • UP · CAMERA

    Depth-camera frames, upright

    A depth camera's cloud is in its own frame: Y down, Z forward. Organized clouds open with Up set to Camera. Switch to Z up for ROS maps or Y up for Open3D scenes.

  • RGB · PACKED IN 4 BYTES

    Packed rgb, decoded

    PCL packs colour into one four-byte field that's often declared as a float. The viewer reads its bits, whether a text file wrote them as an integer or as a float.

  • MAP · EVEN SAMPLE

    Large SLAM maps

    Up to 2 million points are drawn, sampled evenly over the whole map rather than from its start, so you see the full extent of a big capture.

  • FIELDS · WHAT WAS USED

    Every field listed

    Each field in the header with its size, type and what the viewer did with it. Intensity, normals and classification codes are picked up when they're there.

What is a PCD file?

PCD is the native format of the Point Cloud Library, and through PCL it's the everyday point cloud format of robotics. ROS tools save PointCloud2 messages as PCD, SLAM packages write their maps as PCD, and depth cameras get saved to it too.

A short text header comes first. It names each field, says how it's stored, gives the shape of the cloud and, on its DATA line, how the points follow. Field names track PCL's point types closely, so reading them is mostly a lookup. What the header leaves out is units, a coordinate system and which way is up.

The PCD file guide goes through the format line by line.

Header · plain text

  • FIELDS x y z rgb
  • SIZE 4 4 4 4
  • TYPE F F F F
  • WIDTH 640 · HEIGHT 480
  • VIEWPOINT 0 0 0 1 0 0 0
  • DATA binary_compressed

Points

As text lines, packed binary records, or field by field and LZF-compressed

HEIGHT above 1 means an organized cloud: a grid that keeps the sensor's layout.

How to open and navigate a PCD file

  1. 1. Drop the file in

    Drag the .pcd onto the viewer at the top of the page, or click choose a file. No file to hand? Press Try the sample.

  2. 2. Check what it holds

    The panel under the view gives the encoding, the layout, the point count and the colour it found. What is in this file lists every field.

  3. 3. Look around

    Drag to orbit, scroll to zoom, shift-drag to pan. If the scene lies on its side, change Up in the bar under the view.

Dragor one finger
Orbit
ShiftDragor right-drag, two fingers
Pan
Scrollor pinch
Zoom
Upmenu
Z, Y or Camera

Supported features and limitations

Works today

  • ASCII, binary and binary_compressed (LZF) PCD
  • Organized and unorganized clouds, with NaN points left out and counted
  • Up set to Z, Y or the camera's own frame
  • Packed rgb or rgba as a float or an integer, and separate r g b fields
  • Intensity from intensity, reflectivity or i fields
  • LAS class codes in a classification field
  • Colour by height, intensity, RGB or classification
  • The VIEWPOINT line, shown when it's set
  • Files cut short, and unreadable text lines, reported

Good to know

  • Big files are sampled for display. Up to 2 million points are drawn, evenly across the whole cloud. Your file isn't changed.
  • The viewpoint isn't applied. As in PCL, points are drawn where the file puts them.
  • Units aren't stated. PCD has no coordinate system. ROS data is metres by convention.
  • Binary is read as little-endian. PCD doesn't record byte order, and the machines PCL runs on in practice are little-endian.
  • Normals are listed, not drawn.
  • It's a viewer. Nothing is edited, filtered or saved back into the PCD.

How it compares with desktop PCD viewers

The PCL and ROS tooling is built for processing point clouds in code. This viewer is built for opening a .pcd quickly, on whatever machine you're at, and seeing what's in it.

TopicThis viewerDesktop tools
Getting startedOpen the page. No PCL build, no ROS, no Python.Install the library or a viewer, sometimes from source.
Runs onAny recent browser with WebGL: Windows, macOS, Linux, tablets.Often Linux first, other systems depending on the tool.
Points on screenAn even sample of up to 2 million points.Usually every point, if memory allows.
Depth-camera framesOpened upright with Up set to Camera.Often shown in the file's raw axes until you rotate them.
ProcessingNo. It only reads the file.Filtering, registration, segmentation and more.
Your fileRead on your computer, not uploaded.Also stays on your computer.
PriceFree, no account needed.Mostly free and open source.

Working with the same scene as LAS or LAZ? The LAZ viewer adds statistics, plans and sections.

Your cloud stays on your computer

When you open a PCD, the browser reads it straight from your disk and passes it to code running in a background worker on your own machine. There's no upload step, and no server behind this page that processes point clouds.

Robot maps and depth captures are often of private buildings, labs and test sites, so that matters.

You can check it yourself: open your browser's developer tools, watch the Network tab and load a file. The page counts a few anonymous events, such as "the sample was opened", and nothing from your file goes with them. The privacy page has the details.

Frequently asked questions

How do I open a PCD file without installing PCL?
Drop the .pcd file onto the viewer at the top of this page. Your browser reads and draws it, so you don't need a PCL build, a ROS install or a Python environment. ASCII, binary and binary_compressed files all open.
Are my files uploaded?
No. The file is parsed in a background worker in your browser and nothing taken from it is sent anywhere. A map of a client's building or a robot's test site stays on your machine.
Is every .pcd file a point cloud?
No. Kodak's Photo CD format used the same extension for scanned photographs. The viewer recognises those and says so, instead of reporting a damaged point cloud. A point cloud .pcd starts with a short text header (VERSION, FIELDS, SIZE and so on) you can read in any text editor.
Does it open binary_compressed PCD files?
Yes. binary_compressed stores the cloud field by field and compresses it with LZF. The viewer decompresses it in blocks as it reads and keeps only the points it will draw, so a big compressed map opens without the decompressed cloud ever sitting in memory.
Why does the viewer say some points have no position?
Because the file is an organized cloud: a WIDTH × HEIGHT grid laid out like the depth image or scanner that made it. Where the sensor got no return, PCL keeps the slot and fills it with NaN. Those can't be drawn, so they're left out and counted. For a depth camera, a third or more of the grid being empty is normal.
Why is my Kinect or RealSense cloud upside down or on its side?
It's in the camera's frame (X right, Y down, Z forward) and PCD doesn't say so. Organized clouds open here with Up set to Camera, seen from just behind the sensor. For other files, the Up menu next to the colour menu switches between Z up, Y up and the camera frame.
Why does my PCD file show no colour, or the wrong colour?
PCL packs colour into one four-byte rgb field, usually declared as a float, so a reader has to take the bits rather than the value. Text files add a twist: current PCL prints those bits as an unsigned integer, while Open3D and older PCL print the float. This viewer reads both, and also matches separate r, g and b fields on 0–1, 0–255 or 16-bit scales.
What does the VIEWPOINT line do?
It records where the sensor was, and which way it faced, when the cloud was captured. PCL doesn't apply it to the points and neither does this viewer. When a file has a viewpoint other than the default, the panel shows it.
What units are PCD coordinates in?
The format doesn't say. PCD has no field for units or a coordinate system. ROS works in metres by convention, so clouds from a robot or a SLAM map are almost always in metres. The viewer shows extents in the file's own numbers.
Is there a file size limit?
There's no fixed limit. The file is read a few megabytes at a time and an even sample of up to two million points is kept for display, spread over the whole cloud. The panel shows the real point count and the sampling used.