Docs Menu
Docs Home
/ /

Display Legacy UUID Values

You can specify how Compass displays legacy UUID values of binary subtype 3 through the Settings panel.

You can choose one of the following encoding options:

Encoding Option
Description

Raw data (no encoding)

Displays legacy UUIDs as raw binary data without encoding.

Legacy Java UUID

Displays legacy UUIDs using Java's UUID encoding: LegacyJavaUUID("UUID_STRING").

Legacy C# UUID

Displays legacy UUIDs using C#'s UUID encoding: LegacyCSharpUUID("UUID_STRING").

Legacy Python UUID

Displays legacy UUIDs using Python's UUID encoding: LegacyPythonUUID("UUID_STRING").

1

Click the gear icon on the left column of the Compass home screen to open MongoDB Compass Settings.

Settings gear icon location on MongoDB Compass UI

Alternatively, you can use keyboard shortcuts to open the Settings panel:

  • Windows / Linux: Ctrl + ,

  • Mac: + ,

Compass opens a dialog box where you can configure your MongoDB Compass settings.

2

Click the dropdown to display encoding options for displaying legacy UUID values.

3

Click on the desired encoding format to select how MongoDB Compass displays legacy UUIDs.

4

Note

Changing this setting only affects how Compass displays legacy UUIDs. It does not modify how MongoDB stores the UUIDs themselves.

Back

Configure Telemetry

On this page