Display the active console code page without changing it.
chcpDisplay or set the active console code page.
chcp [<nnn>]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Display the active console code page without changing it.
chcp| Option / clause | Description |
|---|---|
<codePage> | Set the active console code page, for example 65001 for UTF-8. |
No argument | Display the active code page. |
<nnn> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
/? | Display command help or the supported command-line usage. |
Code page | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
437 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
850 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
852 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
855 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
857 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
860 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
861 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
863 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
865 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
866 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
869 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
936 | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.