Run rev

World's simplest linux tool

This online tool reverses the given lines using a custom browser-based implementation of the Linux rev command. It takes each line and rearranges the characters so that they go from the end to the beginning. As an extra feature (that the original rev command doesn't have), it can also remove empty lines from the input data and clear surrounding whitespaces from the input. Created by Linux experts from team Browserling.
Announcement Check out our new project!
We just launched a new site – Online GIF Tools – a collection of utilities for quickly editing GIFs. Check it out!
Multiple Lines
Change the order of characters on each line separately.
Empty Lines
Remove empty lines from the output.
Surrounding Spaces
Delete leading and trailing whitespaces on each line.
Run rev tool What is a run rev?
This JavaScript program runs the Linux rev command in your browser. The rev command, which stands for "reverse", copies the text that you entered and rearranges the characters on each line so that they are displayed in the reverse order. The standard Linux rev program reverses each text line individually but in our implementation, you can also reverse multi-line text in its entirety. In this case, the characters at the end of the last line will be brought to the beginning of the first line and the characters at the beginning will be moved to the end. You can also get rid of empty lines in the text by using the delete blank lines option. If any of the input lines have unnecessary whitespaces at the beginning or end, then you can quickly remove them by enabling the trim option. Note that by default (in the individual line reversal mode), each line is trimmed separately but if the entire input data is being reversed, then only the beginning and end of the entire text is trimmed. Tuxabulous!
Run rev examples Click to use
Reverse an Idiom
This example executes our browser version of the rev program on the entered text idiom. It rearranges all input symbols characterwise and prints the idiom in reverse.
It's a piece of cake
ekac fo eceip a s'tI
A List of Tourist Attractions
In this example, we enable a couple of extra rev features that we implemented. In addition to reversing every line in a list of world's attractions, we also remove all leading and trailing whitespaces on all lines and delete blank lines.
Giza Necropolis Great Wall of China Statue of Liberty Taj Mahal Eiffel Tower Colosseum Big Ben Stonehenge Golden Gate Bridge Sydney Opera House
siloporceN aziG anihC fo llaW taerG ytrebiL fo eutatS lahaM jaT rewoT leffiE muessoloC neB giB egnehenotS egdirB etaG nedloG esuoH arepO yendyS
Required options
These options will be used automatically if you select this example.
Change the order of characters on each line separately.
Remove empty lines from the output.
Delete leading and trailing whitespaces on each line.
A List of Gemstones
In this example, we load a list of precious gemstones in the input and turn off the multiline option that reverses individual lines. This way, the entire text is treated as a single blob of data. Jewels that are at the top of the list move to the bottom and gems that are at the bottom move up. We also enable the text trimming option to remove whitespaces that surround the data.
Alexandrite Aquamarine Diamond Emerald Opal Pearl Rubie Sapphire Spinel Topaz
zapoT lenipS erihppaS eibuR lraeP lapO dlaremE dnomaiD eniramauqA etirdnaxelA
Required options
These options will be used automatically if you select this example.
Change the order of characters on each line separately.
Delete leading and trailing whitespaces on each line.
Pro tips Master online linux tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
All linux tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly escape special shell characters in a string.
Quickly output the first part of the input text or data.
Quickly output the last part of the input text or data.
Quickly combine head and tail commands and extract a range.
Quickly print a sequence of numbers to standard output.
Quickly reverse the given lines characterwise.
Coming soon These linux tools are on the way
Run Awk
Run Awk-like commands on the input text.
Run Sed
Run Sed-like commands on the input text.
Printf Data
Run printf-like command on input text or data.
Run Base64
Base64 encode/decode on text and data.
Run Cksum
Print CRC checksum and byte counts.
Run Csplit
Split a file into context-determined pieces.
Run Cut
Remove parts of lines of files.
Run Expand
Convert tabs to spaces.
Run Expr
Evaluate expressions.
Run Factor
Print prime factors of n.
Run Fmt
Run simple text formatter.
Run Numfmt
Convert numbers to and from human-readable strings.
Run Par
Run paragaph reformatter (similar to fmt but better).
Run Strftime
Format time and date according to the given format string.
Run Fold
Wrap each input line to fit in specified width.
Run Join
Join lines of two files on a common field.
Run Md5sum
Compute checksums of files or strings.
Run Nl
Add line numbers to text lines in files.
Run Paste
Merge lines of files.
Run Sha1sum
Print or check SHA-1 digests.
Run Shuf
Shuffle lines of text.
Run Sort
Sort lines of text (with all kinds of options).
Run Split
Split a file into pieces.
Run Tac
Concatenate and print files in reverse.
Run Tr
Translate or delete characters in files.
Run Truncate
Truncate or extend the length of files.
Run Unexpand
Convert spaces to tabs.
Run Uniq
Remove duplicate lines from a sorted file.
Run Wc
Print the number of lines, words, and bytes in files.
Run Cal
Displays a calendar.
Run Colrm
Remove columns from a file.
Run Columns
Convert lists into nice columns.
Run Hexdump
Print ascii, decimal, hexadecimal, octal dump of input data.
Run Uuidgen
Create and print a new universally unique identifier (UUID).
Unescape Shell Characters
Given an escaped shell string, unescape it.
Quote a Shell String
Single or double quote a shell string.
Unquote a Shell String
Remove quotes from a quoted shell string.
Run Yes
Repeatedly output lines with all specified strings or "y".
Run Cowsay
Generate an ASCII picture of the speaking cow.
Run Figlet
Generate ASCII art text in a variety of typefaces.
Run Banner
Print a large, high quality banner using ASCII characters.
Run img2sixel
Convert an image to the DEC Sixel format.
Run sixel2img
Convert DEC Sixel data to an image.
Long to IP
Convert a long integer IP to a dotted string IP address.
IP to Long
Convert a standard IP address to a long numeric IP.
Fuzzy Match
Run the fuzzy matching algorithm on the input data.
Glob Match
Run the glob matching algorithm on the input data.
Unixify File Names
Convert filenames to Unix-friendly filenames.
Print Unix Time
Print time in seconds since 1970-01-01.
Convert UTC to Unix
Convert UTC time to Unix time.
Convert Unix to UTC
Convert Unix time to UTC time.