---
title: bytes reverse
categories: |
bytes
version: 0.104.0
bytes: |
Reverse the bytes in the pipeline.
usage: |
Reverse the bytes in the pipeline.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `bytes reverse` for [bytes](/commands/categories/bytes.md)
<div class='command-title'>Reverse the bytes in the pipeline.</div>
## Signature
```> bytes reverse {flags} ...rest```
## Parameters
- `...rest`: For a data structure input, reverse data at the given cell paths.
## Input/output types:
| input | output |
| ------ | ------ |
| binary | binary |
| record | record |
| table | table |
## Examples
Reverse bytes `0x[1F FF AA AA]`
```nu
> 0x[1F FF AA AA] | bytes reverse
Length: 4 (0x4) bytes | printable whitespace ascii_other non_ascii
00000000: aa aa ff 1f ××ו
```
Reverse bytes `0x[FF AA AA]`
```nu
> 0x[FF AA AA] | bytes reverse
Length: 3 (0x3) bytes | printable whitespace ascii_other non_ascii
00000000: aa aa ff ×××
```