devxcode

Redis Command Reference

Search every Redis 7.2 command with syntax, complexity and since-version, and build common commands for redis-cli — entirely on this device.

0 bytes uploaded

20 common patterns — each writes one line for redis-cli. Nothing is executed and nothing you type leaves this device.

SET — write a string key
Options

Caps: every field up to 256 characters; search up to 64.

Pick a pattern above — the exact redis-cli line builds here as you type, and copies in one press.

392 commands · 17 groups

Strings — 22 commands
CommandSyntaxSinceComplexity
APPENDAPPEND key value2.0.0O(1). The amortized time complexity is O(1) assuming the appended value is small and the already present value is of any size, since the dynamic string library used by Redis will double the free space available on every reallocation.
DECRDECR key1.0.0O(1)
DECRBYDECRBY key decrement1.0.0O(1)
GETGET key1.0.0O(1)
GETDELGETDEL key6.2.0O(1)
GETEXGETEX key [EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | PERSIST]6.2.0O(1)
GETRANGEGETRANGE key start end2.4.0O(N) where N is the length of the returned string. The complexity is ultimately determined by the returned length, but because creating a substring from an existing string is very cheap, it can be considered O(1) for small strings.
GETSETDeprecated since 6.2.0Use instead: SET with the GET argumentGETSET key value1.0.0O(1)
INCRINCR key1.0.0O(1)
INCRBYINCRBY key increment1.0.0O(1)
INCRBYFLOATINCRBYFLOAT key increment2.6.0O(1)
LCSLCS key1 key2 [LEN] [IDX] [MINMATCHLEN min-match-len] [WITHMATCHLEN]7.0.0O(N*M) where N and M are the lengths of s1 and s2, respectively
MGETMGET key [key ...]1.0.0O(N) where N is the number of keys to retrieve.
MSETMSET key value [key value ...]1.0.1O(N) where N is the number of keys to set.
MSETNXMSETNX key value [key value ...]1.0.1O(N) where N is the number of keys to set.
PSETEXDeprecated since 2.6.12Use instead: SET with the PX argumentPSETEX key milliseconds value2.6.0O(1)
SETSET key value [NX | XX] [GET] [EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | KEEPTTL]1.0.0O(1)
SETEXDeprecated since 2.6.12Use instead: SET with the EX argumentSETEX key seconds value2.0.0O(1)
SETNXDeprecated since 2.6.12Use instead: SET with the NX argumentSETNX key value1.0.0O(1)
SETRANGESETRANGE key offset value2.2.0O(1), not counting the time taken to copy the new string in place. Usually, this string is very small so the amortized complexity is O(1). Otherwise, complexity is O(M) with M being the length of the value argument.
STRLENSTRLEN key2.2.0O(1)
SUBSTRDeprecated since 2.0.0Use instead: GETRANGESUBSTR key start end1.0.0O(N) where N is the length of the returned string. The complexity is ultimately determined by the returned length, but because creating a substring from an existing string is very cheap, it can be considered O(1) for small strings.
Lists — 22 commands
CommandSyntaxSinceComplexity
BLMOVEBLMOVE source destination <LEFT | RIGHT> <LEFT | RIGHT> timeout6.2.0O(1)
BLMPOPBLMPOP timeout numkeys key [key ...] <LEFT | RIGHT> [COUNT count]7.0.0O(N+M) where N is the number of provided keys and M is the number of elements returned.
BLPOPBLPOP key [key ...] timeout2.0.0O(N) where N is the number of provided keys.
BRPOPBRPOP key [key ...] timeout2.0.0O(N) where N is the number of provided keys.
BRPOPLPUSHDeprecated since 6.2.0Use instead: BLMOVE with the RIGHT and LEFT argumentsBRPOPLPUSH source destination timeout2.2.0O(1)
LINDEXLINDEX key index1.0.0O(N) where N is the number of elements to traverse to get to the element at index. This makes asking for the first or the last element of the list O(1).
LINSERTLINSERT key <BEFORE | AFTER> pivot element2.2.0O(N) where N is the number of elements to traverse before seeing the value pivot. This means that inserting somewhere on the left end on the list (head) can be considered O(1) and inserting somewhere on the right end (tail) is O(N).
LLENLLEN key1.0.0O(1)
LMOVELMOVE source destination <LEFT | RIGHT> <LEFT | RIGHT>6.2.0O(1)
LMPOPLMPOP numkeys key [key ...] <LEFT | RIGHT> [COUNT count]7.0.0O(N+M) where N is the number of provided keys and M is the number of elements returned.
LPOPLPOP key [count]1.0.0O(N) where N is the number of elements returned
LPOSLPOS key element [RANK rank] [COUNT num-matches] [MAXLEN len]6.0.6O(N) where N is the number of elements in the list, for the average case. When searching for elements near the head or the tail of the list, or when the MAXLEN option is provided, the command may run in constant time.
LPUSHLPUSH key element [element ...]1.0.0O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments.
LPUSHXLPUSHX key element [element ...]2.2.0O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments.
LRANGELRANGE key start stop1.0.0O(S+N) where S is the distance of start offset from HEAD for small lists, from nearest end (HEAD or TAIL) for large lists; and N is the number of elements in the specified range.
LREMLREM key count element1.0.0O(N+M) where N is the length of the list and M is the number of elements removed.
LSETLSET key index element1.0.0O(N) where N is the length of the list. Setting either the first or the last element of the list is O(1).
LTRIMLTRIM key start stop1.0.0O(N) where N is the number of elements to be removed by the operation.
RPOPRPOP key [count]1.0.0O(N) where N is the number of elements returned
RPOPLPUSHDeprecated since 6.2.0Use instead: LMOVE with the RIGHT and LEFT argumentsRPOPLPUSH source destination1.2.0O(1)
RPUSHRPUSH key element [element ...]1.0.0O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments.
RPUSHXRPUSHX key element [element ...]2.2.0O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments.
Hashes — 16 commands
CommandSyntaxSinceComplexity
HDELHDEL key field [field ...]2.0.0O(N) where N is the number of fields to be removed.
HEXISTSHEXISTS key field2.0.0O(1)
HGETHGET key field2.0.0O(1)
HGETALLHGETALL key2.0.0O(N) where N is the size of the hash.
HINCRBYHINCRBY key field increment2.0.0O(1)
HINCRBYFLOATHINCRBYFLOAT key field increment2.6.0O(1)
HKEYSHKEYS key2.0.0O(N) where N is the size of the hash.
HLENHLEN key2.0.0O(1)
HMGETHMGET key field [field ...]2.0.0O(N) where N is the number of fields being requested.
HMSETDeprecated since 4.0.0Use instead: HSET with multiple field-value pairsHMSET key field value [field value ...]2.0.0O(N) where N is the number of fields being set.
HRANDFIELDHRANDFIELD key [count [WITHVALUES]]6.2.0O(N) where N is the number of fields returned
HSCANHSCAN key cursor [MATCH pattern] [COUNT count]2.8.0O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.
HSETHSET key field value [field value ...]2.0.0O(1) for each field/value pair added, so O(N) to add N field/value pairs when the command is called with multiple field/value pairs.
HSETNXHSETNX key field value2.0.0O(1)
HSTRLENHSTRLEN key field3.2.0O(1)
HVALSHVALS key2.0.0O(N) where N is the size of the hash.
Sets — 17 commands
CommandSyntaxSinceComplexity
SADDSADD key member [member ...]1.0.0O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments.
SCARDSCARD key1.0.0O(1)
SDIFFSDIFF key [key ...]1.0.0O(N) where N is the total number of elements in all given sets.
SDIFFSTORESDIFFSTORE destination key [key ...]1.0.0O(N) where N is the total number of elements in all given sets.
SINTERSINTER key [key ...]1.0.0O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets.
SINTERCARDSINTERCARD numkeys key [key ...] [LIMIT limit]7.0.0O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets.
SINTERSTORESINTERSTORE destination key [key ...]1.0.0O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets.
SISMEMBERSISMEMBER key member1.0.0O(1)
SMEMBERSSMEMBERS key1.0.0O(N) where N is the set cardinality.
SMISMEMBERSMISMEMBER key member [member ...]6.2.0O(N) where N is the number of elements being checked for membership
SMOVESMOVE source destination member1.0.0O(1)
SPOPSPOP key [count]1.0.0Without the count argument O(1), otherwise O(N) where N is the value of the passed count.
SRANDMEMBERSRANDMEMBER key [count]1.0.0Without the count argument O(1), otherwise O(N) where N is the absolute value of the passed count.
SREMSREM key member [member ...]1.0.0O(N) where N is the number of members to be removed.
SSCANSSCAN key cursor [MATCH pattern] [COUNT count]2.8.0O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.
SUNIONSUNION key [key ...]1.0.0O(N) where N is the total number of elements in all given sets.
SUNIONSTORESUNIONSTORE destination key [key ...]1.0.0O(N) where N is the total number of elements in all given sets.
Sorted sets — 35 commands
CommandSyntaxSinceComplexity
BZMPOPBZMPOP timeout numkeys key [key ...] <MIN | MAX> [COUNT count]7.0.0O(K) + O(M*log(N)) where K is the number of provided keys, N being the number of elements in the sorted set, and M being the number of elements popped.
BZPOPMAXBZPOPMAX key [key ...] timeout5.0.0O(log(N)) with N being the number of elements in the sorted set.
BZPOPMINBZPOPMIN key [key ...] timeout5.0.0O(log(N)) with N being the number of elements in the sorted set.
ZADDZADD key [NX | XX] [GT | LT] [CH] [INCR] score member [score member ...]1.2.0O(log(N)) for each item added, where N is the number of elements in the sorted set.
ZCARDZCARD key1.2.0O(1)
ZCOUNTZCOUNT key min max2.0.0O(log(N)) with N being the number of elements in the sorted set.
ZDIFFZDIFF numkeys key [key ...] [WITHSCORES]6.2.0O(L + (N-K)log(N)) worst case where L is the total number of elements in all the sets, N is the size of the first set, and K is the size of the result set.
ZDIFFSTOREZDIFFSTORE destination numkeys key [key ...]6.2.0O(L + (N-K)log(N)) worst case where L is the total number of elements in all the sets, N is the size of the first set, and K is the size of the result set.
ZINCRBYZINCRBY key increment member1.2.0O(log(N)) where N is the number of elements in the sorted set.
ZINTERZINTER numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM | MIN | MAX] [WITHSCORES]6.2.0O(N*K)+O(M*log(M)) worst case with N being the smallest input sorted set, K being the number of input sorted sets and M being the number of elements in the resulting sorted set.
ZINTERCARDZINTERCARD numkeys key [key ...] [LIMIT limit]7.0.0O(N*K) worst case with N being the smallest input sorted set, K being the number of input sorted sets.
ZINTERSTOREZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM | MIN | MAX]2.0.0O(N*K)+O(M*log(M)) worst case with N being the smallest input sorted set, K being the number of input sorted sets and M being the number of elements in the resulting sorted set.
ZLEXCOUNTZLEXCOUNT key min max2.8.9O(log(N)) with N being the number of elements in the sorted set.
ZMPOPZMPOP numkeys key [key ...] <MIN | MAX> [COUNT count]7.0.0O(K) + O(M*log(N)) where K is the number of provided keys, N being the number of elements in the sorted set, and M being the number of elements popped.
ZMSCOREZMSCORE key member [member ...]6.2.0O(N) where N is the number of members being requested.
ZPOPMAXZPOPMAX key [count]5.0.0O(log(N)*M) with N being the number of elements in the sorted set, and M being the number of elements popped.
ZPOPMINZPOPMIN key [count]5.0.0O(log(N)*M) with N being the number of elements in the sorted set, and M being the number of elements popped.
ZRANDMEMBERZRANDMEMBER key [count [WITHSCORES]]6.2.0O(N) where N is the number of members returned
ZRANGEZRANGE key start stop [BYSCORE | BYLEX] [REV] [LIMIT offset count] [WITHSCORES]1.2.0O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements returned.
ZRANGEBYLEXDeprecated since 6.2.0Use instead: ZRANGE with the BYLEX argumentZRANGEBYLEX key min max [LIMIT offset count]2.8.9O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).
ZRANGEBYSCOREDeprecated since 6.2.0Use instead: ZRANGE with the BYSCORE argumentZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]1.0.5O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).
ZRANGESTOREZRANGESTORE dst src min max [BYSCORE | BYLEX] [REV] [LIMIT offset count]6.2.0O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements stored into the destination key.
ZRANKZRANK key member [WITHSCORE]2.0.0O(log(N))
ZREMZREM key member [member ...]1.2.0O(M*log(N)) with N being the number of elements in the sorted set and M the number of elements to be removed.
ZREMRANGEBYLEXZREMRANGEBYLEX key min max2.8.9O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation.
ZREMRANGEBYRANKZREMRANGEBYRANK key start stop2.0.0O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation.
ZREMRANGEBYSCOREZREMRANGEBYSCORE key min max1.2.0O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation.
ZREVRANGEDeprecated since 6.2.0Use instead: ZRANGE with the REV argumentZREVRANGE key start stop [WITHSCORES]1.2.0O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements returned.
ZREVRANGEBYLEXDeprecated since 6.2.0Use instead: ZRANGE with the REV and BYLEX argumentsZREVRANGEBYLEX key max min [LIMIT offset count]2.8.9O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).
ZREVRANGEBYSCOREDeprecated since 6.2.0Use instead: ZRANGE with the REV and BYSCORE argumentsZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]2.2.0O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).
ZREVRANKZREVRANK key member [WITHSCORE]2.0.0O(log(N))
ZSCANZSCAN key cursor [MATCH pattern] [COUNT count]2.8.0O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.
ZSCOREZSCORE key member1.2.0O(1)
ZUNIONZUNION numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM | MIN | MAX] [WITHSCORES]6.2.0O(N)+O(M*log(M)) with N being the sum of the sizes of the input sorted sets, and M being the number of elements in the resulting sorted set.
ZUNIONSTOREZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM | MIN | MAX]2.0.0O(N)+O(M log(M)) with N being the sum of the sizes of the input sorted sets, and M being the number of elements in the resulting sorted set.
Streams — 25 commands
CommandSyntaxSinceComplexity
XACKXACK key group ID [ID ...]5.0.0O(1) for each message ID processed.
XADDXADD key [NOMKSTREAM] [<MAXLEN | MINID> [= | ~] threshold [LIMIT count]] <* | id> field value [field value ...]5.0.0O(1) when adding a new entry, O(N) when trimming where N being the number of entries evicted.
XAUTOCLAIMXAUTOCLAIM key group consumer min-idle-time start [COUNT count] [JUSTID]6.2.0O(1) if COUNT is small.
XCLAIMXCLAIM key group consumer min-idle-time ID [ID ...] [IDLE ms] [TIME unix-time-milliseconds] [RETRYCOUNT count] [FORCE] [JUSTID] [LASTID lastid]5.0.0O(log N) with N being the number of messages in the PEL of the consumer group.
XDELXDEL key ID [ID ...]5.0.0O(1) for each single item to delete in the stream, regardless of the stream size.
XGROUPXGROUP5.0.0Depends on subcommand.
XGROUP CREATEXGROUP CREATE key group <id | $> [MKSTREAM] [ENTRIESREAD entries-read]5.0.0O(1)
XGROUP CREATECONSUMERXGROUP CREATECONSUMER key group consumer6.2.0O(1)
XGROUP DELCONSUMERXGROUP DELCONSUMER key group consumer5.0.0O(1)
XGROUP DESTROYXGROUP DESTROY key group5.0.0O(N) where N is the number of entries in the group's pending entries list (PEL).
XGROUP HELPXGROUP HELP5.0.0O(1)
XGROUP SETIDXGROUP SETID key group <id | $> [ENTRIESREAD entries-read]5.0.0O(1)
XINFOXINFO5.0.0Depends on subcommand.
XINFO CONSUMERSXINFO CONSUMERS key group5.0.0O(1)
XINFO GROUPSXINFO GROUPS key5.0.0O(1)
XINFO HELPXINFO HELP5.0.0O(1)
XINFO STREAMXINFO STREAM key [FULL [COUNT count]]5.0.0O(1)
XLENXLEN key5.0.0O(1)
XPENDINGXPENDING key group [[IDLE min-idle-time] start end count [consumer]]5.0.0O(N) with N being the number of elements returned, so asking for a small fixed number of entries per call is O(1). O(M), where M is the total number of entries scanned when used with the IDLE filter. When the command returns just the summary and the list of consumers is small, it runs in O(1) time; otherwise, an additional O(N) time for iterating every consumer.
XRANGEXRANGE key start end [COUNT count]5.0.0O(N) with N being the number of elements being returned. If N is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1).
XREADXREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]5.0.0—
XREADGROUPXREADGROUP GROUP group consumer [COUNT count] [BLOCK milliseconds] [NOACK] STREAMS key [key ...] ID [ID ...]5.0.0For each stream mentioned: O(M) with M being the number of elements returned. If M is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1). On the other side when XREADGROUP blocks, XADD will pay the O(N) time in order to serve the N clients blocked on the stream getting new data.
XREVRANGEXREVRANGE key end start [COUNT count]5.0.0O(N) with N being the number of elements returned. If N is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1).
XSETIDXSETID key last-id [ENTRIESADDED entries-added] [MAXDELETEDID max-deleted-id]5.0.0O(1)
XTRIMXTRIM key <MAXLEN | MINID> [= | ~] threshold [LIMIT count]5.0.0O(N), with N being the number of evicted entries. Constant times are very small however, since entries are organized in macro nodes containing multiple entries that can be released with a single deallocation.
Bitmaps — 7 commands
CommandSyntaxSinceComplexity
BITCOUNTBITCOUNT key [start end [BYTE | BIT]]2.6.0O(N)
BITFIELDBITFIELD key [GET encoding offset | [OVERFLOW WRAP | SAT | FAIL] <SET encoding offset value | INCRBY encoding offset increment> [GET encoding offset | [OVERFLOW WRAP | SAT | FAIL] <SET encoding offset value | INCRBY encoding offset increment> ...]]3.2.0O(1) for each subcommand specified
BITFIELD_ROBITFIELD_RO key [GET encoding offset [GET encoding offset ...]]6.0.0O(1) for each subcommand specified
BITOPBITOP <AND | OR | XOR | NOT> destkey key [key ...]2.6.0O(N)
BITPOSBITPOS key bit [start [end [BYTE | BIT]]]2.8.7O(N)
GETBITGETBIT key offset2.2.0O(1)
SETBITSETBIT key offset value2.2.0O(1)
HyperLogLog — 5 commands
CommandSyntaxSinceComplexity
PFADDPFADD key [element [element ...]]2.8.9O(1) to add every element.
PFCOUNTPFCOUNT key [key ...]2.8.9O(1) with a very small average constant time when called with a single key. O(N) with N being the number of keys, and much bigger constant times, when called with multiple keys.
PFDEBUGPFDEBUG subcommand key2.8.9N/A
PFMERGEPFMERGE destkey [sourcekey [sourcekey ...]]2.8.9O(N) to merge N HyperLogLogs, but with high constant times.
PFSELFTESTPFSELFTEST2.8.9N/A
Geospatial — 10 commands
CommandSyntaxSinceComplexity
GEOADDGEOADD key [NX | XX] [CH] longitude latitude member [longitude latitude member ...]3.2.0O(log(N)) for each item added, where N is the number of elements in the sorted set.
GEODISTGEODIST key member1 member2 [m | km | ft | mi]3.2.0O(1)
GEOHASHGEOHASH key [member [member ...]]3.2.0O(1) for each member requested.
GEOPOSGEOPOS key [member [member ...]]3.2.0O(1) for each member requested.
GEORADIUSDeprecated since 6.2.0Use instead: GEOSEARCH and GEOSEARCHSTORE with the BYRADIUS argumentGEORADIUS key longitude latitude radius <m | km | ft | mi> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC] [STORE key | STOREDIST key]3.2.0O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
GEORADIUSBYMEMBERDeprecated since 6.2.0Use instead: GEOSEARCH and GEOSEARCHSTORE with the BYRADIUS and FROMMEMBER argumentsGEORADIUSBYMEMBER key member radius <m | km | ft | mi> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC] [STORE key | STOREDIST key]3.2.0O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
GEORADIUSBYMEMBER_RODeprecated since 6.2.0Use instead: GEOSEARCH with the BYRADIUS and FROMMEMBER argumentsGEORADIUSBYMEMBER_RO key member radius <m | km | ft | mi> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]3.2.10O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
GEORADIUS_RODeprecated since 6.2.0Use instead: GEOSEARCH with the BYRADIUS argumentGEORADIUS_RO key longitude latitude radius <m | km | ft | mi> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]3.2.10O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
GEOSEARCHGEOSEARCH key <FROMMEMBER member | FROMLONLAT longitude latitude> <BYRADIUS radius <m | km | ft | mi> | BYBOX width height <m | km | ft | mi>> [ASC | DESC] [COUNT count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]6.2.0O(N+log(M)) where N is the number of elements in the grid-aligned bounding box area around the shape provided as the filter and M is the number of items inside the shape
GEOSEARCHSTOREGEOSEARCHSTORE destination source <FROMMEMBER member | FROMLONLAT longitude latitude> <BYRADIUS radius <m | km | ft | mi> | BYBOX width height <m | km | ft | mi>> [ASC | DESC] [COUNT count [ANY]] [STOREDIST]6.2.0O(N+log(M)) where N is the number of elements in the grid-aligned bounding box area around the shape provided as the filter and M is the number of items inside the shape
Keyspace — 34 commands
CommandSyntaxSinceComplexity
COPYCOPY source destination [DB destination-db] [REPLACE]6.2.0O(N) worst case for collections, where N is the number of nested items. O(1) for string values.
DELDEL key [key ...]1.0.0O(N) where N is the number of keys that will be removed. When a key to remove holds a value other than a string, the individual complexity for this key is O(M) where M is the number of elements in the list, set, sorted set or hash. Removing a single key that holds a string value is O(1).
DUMPDUMP key2.6.0O(1) to access the key and additional O(N*M) to serialize it, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1).
EXISTSEXISTS key [key ...]1.0.0O(N) where N is the number of keys to check.
EXPIREEXPIRE key seconds [NX | XX | GT | LT]1.0.0O(1)
EXPIREATEXPIREAT key unix-time-seconds [NX | XX | GT | LT]1.2.0O(1)
EXPIRETIMEEXPIRETIME key7.0.0O(1)
KEYSKEYS pattern1.0.0O(N) with N being the number of keys in the database, under the assumption that the key names in the database and the given pattern have limited length.
MIGRATEMIGRATE host port <key | ""> destination-db timeout [COPY] [REPLACE] [AUTH password | AUTH2 username password] [KEYS key [key ...]]2.6.0This command actually executes a DUMP+DEL in the source instance, and a RESTORE in the target instance. See the pages of these commands for time complexity. Also an O(N) data transfer between the two instances is performed.
MOVEMOVE key db1.0.0O(1)
OBJECTOBJECT2.2.3Depends on subcommand.
OBJECT ENCODINGOBJECT ENCODING key2.2.3O(1)
OBJECT FREQOBJECT FREQ key4.0.0O(1)
OBJECT HELPOBJECT HELP6.2.0O(1)
OBJECT IDLETIMEOBJECT IDLETIME key2.2.3O(1)
OBJECT REFCOUNTOBJECT REFCOUNT key2.2.3O(1)
PERSISTPERSIST key2.2.0O(1)
PEXPIREPEXPIRE key milliseconds [NX | XX | GT | LT]2.6.0O(1)
PEXPIREATPEXPIREAT key unix-time-milliseconds [NX | XX | GT | LT]2.6.0O(1)
PEXPIRETIMEPEXPIRETIME key7.0.0O(1)
PTTLPTTL key2.6.0O(1)
RANDOMKEYRANDOMKEY1.0.0O(1)
RENAMERENAME key newkey1.0.0O(1)
RENAMENXRENAMENX key newkey1.0.0O(1)
RESTORERESTORE key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME seconds] [FREQ frequency]2.6.0O(1) to create the new key and additional O(N*M) to reconstruct the serialized value, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1). However for sorted set values the complexity is O(N*M*log(N)) because inserting values into sorted sets is O(log(N)).
SCANSCAN cursor [MATCH pattern] [COUNT count] [TYPE type]2.8.0O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.
SORTSORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA] [STORE destination]1.0.0O(N+M*log(M)) where N is the number of elements in the list or set to sort, and M the number of returned elements. When the elements are not sorted, complexity is O(N).
SORT_ROSORT_RO key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA]7.0.0O(N+M*log(M)) where N is the number of elements in the list or set to sort, and M the number of returned elements. When the elements are not sorted, complexity is O(N).
TOUCHTOUCH key [key ...]3.2.1O(N) where N is the number of keys that will be touched.
TTLTTL key1.0.0O(1)
TYPETYPE key1.0.0O(1)
WAITWAIT numreplicas timeout3.0.0O(1)
WAITAOFWAITAOF numlocal numreplicas timeout7.2.0O(1)
Pub/Sub — 15 commands
CommandSyntaxSinceComplexity
PSUBSCRIBEPSUBSCRIBE pattern [pattern ...]2.0.0O(N) where N is the number of patterns to subscribe to.
PUBLISHPUBLISH channel message2.0.0O(N+M) where N is the number of clients subscribed to the receiving channel and M is the total number of subscribed patterns (by any client).
PUBSUBPUBSUB2.8.0Depends on subcommand.
PUBSUB CHANNELSPUBSUB CHANNELS [pattern]2.8.0O(N) where N is the number of active channels, and assuming constant time pattern matching (relatively short channels and patterns)
PUBSUB HELPPUBSUB HELP6.2.0O(1)
PUBSUB NUMPATPUBSUB NUMPAT2.8.0O(1)
PUBSUB NUMSUBPUBSUB NUMSUB [channel [channel ...]]2.8.0O(N) for the NUMSUB subcommand, where N is the number of requested channels
PUBSUB SHARDCHANNELSPUBSUB SHARDCHANNELS [pattern]7.0.0O(N) where N is the number of active shard channels, and assuming constant time pattern matching (relatively short shard channels).
PUBSUB SHARDNUMSUBPUBSUB SHARDNUMSUB [shardchannel [shardchannel ...]]7.0.0O(N) for the SHARDNUMSUB subcommand, where N is the number of requested shard channels
PUNSUBSCRIBEPUNSUBSCRIBE [pattern [pattern ...]]2.0.0O(N) where N is the number of patterns to unsubscribe.
SPUBLISHSPUBLISH shardchannel message7.0.0O(N) where N is the number of clients subscribed to the receiving shard channel.
SSUBSCRIBESSUBSCRIBE shardchannel [shardchannel ...]7.0.0O(N) where N is the number of shard channels to subscribe to.
SUBSCRIBESUBSCRIBE channel [channel ...]2.0.0O(N) where N is the number of channels to subscribe to.
SUNSUBSCRIBESUNSUBSCRIBE [shardchannel [shardchannel ...]]7.0.0O(N) where N is the number of shard channels to unsubscribe.
UNSUBSCRIBEUNSUBSCRIBE [channel [channel ...]]2.0.0O(N) where N is the number of channels to unsubscribe.
Transactions — 5 commands
CommandSyntaxSinceComplexity
DISCARDDISCARD2.0.0O(N), when N is the number of queued commands
EXECEXEC1.2.0Depends on commands in the transaction
MULTIMULTI1.2.0O(1)
UNWATCHUNWATCH2.2.0O(1)
WATCHWATCH key [key ...]2.2.0O(1) for every key.
Scripting — 23 commands
CommandSyntaxSinceComplexity
EVALEVAL script numkeys [key [key ...]] [arg [arg ...]]2.6.0Depends on the script that is executed.
EVALSHAEVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]]2.6.0Depends on the script that is executed.
EVALSHA_ROEVALSHA_RO sha1 numkeys [key [key ...]] [arg [arg ...]]7.0.0Depends on the script that is executed.
EVAL_ROEVAL_RO script numkeys [key [key ...]] [arg [arg ...]]7.0.0Depends on the script that is executed.
FCALLFCALL function numkeys [key [key ...]] [arg [arg ...]]7.0.0Depends on the function that is executed.
FCALL_ROFCALL_RO function numkeys [key [key ...]] [arg [arg ...]]7.0.0Depends on the function that is executed.
FUNCTIONFUNCTION7.0.0Depends on subcommand.
FUNCTION DELETEFUNCTION DELETE library-name7.0.0O(1)
FUNCTION DUMPFUNCTION DUMP7.0.0O(N) where N is the number of functions
FUNCTION FLUSHFUNCTION FLUSH [ASYNC | SYNC]7.0.0O(N) where N is the number of functions deleted
FUNCTION HELPFUNCTION HELP7.0.0O(1)
FUNCTION KILLFUNCTION KILL7.0.0O(1)
FUNCTION LISTFUNCTION LIST [LIBRARYNAME library-name-pattern] [WITHCODE]7.0.0O(N) where N is the number of functions
FUNCTION LOADFUNCTION LOAD [REPLACE] function-code7.0.0O(1) (considering compilation time is redundant)
FUNCTION RESTOREFUNCTION RESTORE serialized-value [FLUSH | APPEND | REPLACE]7.0.0O(N) where N is the number of functions on the payload
FUNCTION STATSFUNCTION STATS7.0.0O(1)
SCRIPTSCRIPT2.6.0Depends on subcommand.
SCRIPT DEBUGSCRIPT DEBUG <YES | SYNC | NO>3.2.0O(1)
SCRIPT EXISTSSCRIPT EXISTS sha1 [sha1 ...]2.6.0O(N) with N being the number of scripts to check (so checking a single script is an O(1) operation).
SCRIPT FLUSHSCRIPT FLUSH [ASYNC | SYNC]2.6.0O(N) with N being the number of scripts in cache
SCRIPT HELPSCRIPT HELP5.0.0O(1)
SCRIPT KILLSCRIPT KILL2.6.0O(1)
SCRIPT LOADSCRIPT LOAD script2.6.0O(N) with N being the length in bytes of the script body.
Connection — 26 commands
CommandSyntaxSinceComplexity
AUTHAUTH [username] password1.0.0O(N) where N is the number of passwords defined for the user
CLIENTCLIENT2.4.0Depends on subcommand.
CLIENT CACHINGCLIENT CACHING <YES | NO>6.0.0O(1)
CLIENT GETNAMECLIENT GETNAME2.6.9O(1)
CLIENT GETREDIRCLIENT GETREDIR6.0.0O(1)
CLIENT HELPCLIENT HELP5.0.0O(1)
CLIENT IDCLIENT ID5.0.0O(1)
CLIENT INFOCLIENT INFO6.2.0O(1)
CLIENT KILLCLIENT KILL <ip:port | <[ID client-id] | [TYPE normal | master | slave | replica | pubsub] | [USER username] | [ADDR ip:port] | [LADDR ip:port] | [SKIPME YES | NO] [[ID client-id] | [TYPE normal | master | slave | replica | pubsub] | [USER username] | [ADDR ip:port] | [LADDR ip:port] | [SKIPME YES | NO] ...]>>2.4.0O(N) where N is the number of client connections
CLIENT LISTCLIENT LIST [TYPE normal | master | replica | pubsub] [ID client-id [client-id ...]]2.4.0O(N) where N is the number of client connections
CLIENT NO-EVICTCLIENT NO-EVICT <ON | OFF>7.0.0O(1)
CLIENT NO-TOUCHCLIENT NO-TOUCH <ON | OFF>7.2.0O(1)
CLIENT PAUSECLIENT PAUSE timeout [WRITE | ALL]3.0.0O(1)
CLIENT REPLYCLIENT REPLY <ON | OFF | SKIP>3.2.0O(1)
CLIENT SETINFOCLIENT SETINFO <lib-name libname | lib-ver libver>7.2.0O(1)
CLIENT SETNAMECLIENT SETNAME connection-name2.6.9O(1)
CLIENT TRACKINGCLIENT TRACKING <ON | OFF> [REDIRECT client-id] [PREFIX prefix [PREFIX prefix ...]] [BCAST] [OPTIN] [OPTOUT] [NOLOOP]6.0.0O(1). Some options may introduce additional complexity.
CLIENT TRACKINGINFOCLIENT TRACKINGINFO6.2.0O(1)
CLIENT UNBLOCKCLIENT UNBLOCK client-id [TIMEOUT | ERROR]5.0.0O(log N) where N is the number of client connections
CLIENT UNPAUSECLIENT UNPAUSE6.2.0O(N) Where N is the number of paused clients
ECHOECHO message1.0.0O(1)
HELLOHELLO [protover [AUTH username password] [SETNAME clientname]]6.0.0O(1)
PINGPING [message]1.0.0O(1)
QUITDeprecated since 7.2.0Use instead: just closing the connectionQUIT1.0.0O(1)
RESETRESET6.2.0O(1)
SELECTSELECT index1.0.0O(1)
Server — 76 commands
CommandSyntaxSinceComplexity
ACLACL6.0.0Depends on subcommand.
ACL CATACL CAT [category]6.0.0O(1) since the categories and commands are a fixed set.
ACL DELUSERACL DELUSER username [username ...]6.0.0O(1) amortized time considering the typical user.
ACL DRYRUNACL DRYRUN username command [arg [arg ...]]7.0.0O(1).
ACL GENPASSACL GENPASS [bits]6.0.0O(1)
ACL GETUSERACL GETUSER username6.0.0O(N). Where N is the number of password, command and pattern rules that the user has.
ACL HELPACL HELP6.0.0O(1)
ACL LISTACL LIST6.0.0O(N). Where N is the number of configured users.
ACL LOADACL LOAD6.0.0O(N). Where N is the number of configured users.
ACL LOGACL LOG [count | RESET]6.0.0O(N) with N being the number of entries shown.
ACL SAVEACL SAVE6.0.0O(N). Where N is the number of configured users.
ACL SETUSERACL SETUSER username [rule [rule ...]]6.0.0O(N). Where N is the number of rules provided.
ACL USERSACL USERS6.0.0O(N). Where N is the number of configured users.
ACL WHOAMIACL WHOAMI6.0.0O(1)
BGREWRITEAOFBGREWRITEAOF1.0.0O(1)
BGSAVEBGSAVE [SCHEDULE]1.0.0O(1)
COMMANDCOMMAND2.8.13O(N) where N is the total number of Redis commands
COMMAND COUNTCOMMAND COUNT2.8.13O(1)
COMMAND DOCSCOMMAND DOCS [command-name [command-name ...]]7.0.0O(N) where N is the number of commands to look up
COMMAND GETKEYSCOMMAND GETKEYS command [arg [arg ...]]2.8.13O(N) where N is the number of arguments to the command
COMMAND GETKEYSANDFLAGSCOMMAND GETKEYSANDFLAGS command [arg [arg ...]]7.0.0O(N) where N is the number of arguments to the command
COMMAND HELPCOMMAND HELP5.0.0O(1)
COMMAND INFOCOMMAND INFO [command-name [command-name ...]]2.8.13O(N) where N is the number of commands to look up
COMMAND LISTCOMMAND LIST [FILTERBY MODULE module-name | ACLCAT category | PATTERN pattern]7.0.0O(N) where N is the total number of Redis commands
CONFIGCONFIG2.0.0Depends on subcommand.
CONFIG GETCONFIG GET parameter [parameter ...]2.0.0O(N) when N is the number of configuration parameters provided
CONFIG HELPCONFIG HELP5.0.0O(1)
CONFIG RESETSTATCONFIG RESETSTAT2.0.0O(1)
CONFIG REWRITECONFIG REWRITE2.8.0O(1)
CONFIG SETCONFIG SET parameter value [parameter value ...]2.0.0O(N) when N is the number of configuration parameters provided
DBSIZEDBSIZE1.0.0O(1)
DEBUGDEBUG1.0.0Depends on subcommand.
FAILOVERFAILOVER [TO host port [FORCE]] [ABORT] [TIMEOUT milliseconds]6.2.0O(1)
FLUSHALLFLUSHALL [ASYNC | SYNC]1.0.0O(N) where N is the total number of keys in all databases
FLUSHDBFLUSHDB [ASYNC | SYNC]1.0.0O(N) where N is the number of keys in the selected database
INFOINFO [section [section ...]]1.0.0O(1)
LASTSAVELASTSAVE1.0.0O(1)
LATENCYLATENCY2.8.13Depends on subcommand.
LATENCY DOCTORLATENCY DOCTOR2.8.13O(1)
LATENCY GRAPHLATENCY GRAPH event2.8.13O(1)
LATENCY HELPLATENCY HELP2.8.13O(1)
LATENCY HISTOGRAMLATENCY HISTOGRAM [COMMAND [COMMAND ...]]7.0.0O(N) where N is the number of commands with latency information being retrieved.
LATENCY HISTORYLATENCY HISTORY event2.8.13O(1)
LATENCY LATESTLATENCY LATEST2.8.13O(1)
LATENCY RESETLATENCY RESET [event [event ...]]2.8.13O(1)
LOLWUTLOLWUT [VERSION version]5.0.0—
MEMORYMEMORY4.0.0Depends on subcommand.
MEMORY DOCTORMEMORY DOCTOR4.0.0O(1)
MEMORY HELPMEMORY HELP4.0.0O(1)
MEMORY MALLOC-STATSMEMORY MALLOC-STATS4.0.0Depends on how much memory is allocated, could be slow
MEMORY PURGEMEMORY PURGE4.0.0Depends on how much memory is allocated, could be slow
MEMORY STATSMEMORY STATS4.0.0O(1)
MEMORY USAGEMEMORY USAGE key [SAMPLES count]4.0.0O(N) where N is the number of samples.
MODULEMODULE4.0.0Depends on subcommand.
MODULE HELPMODULE HELP5.0.0O(1)
MODULE LISTMODULE LIST4.0.0O(N) where N is the number of loaded modules.
MODULE LOADMODULE LOAD path [arg [arg ...]]4.0.0O(1)
MODULE LOADEXMODULE LOADEX path [CONFIG name value [CONFIG name value ...]] [ARGS args [args ...]]7.0.0O(1)
MODULE UNLOADMODULE UNLOAD name4.0.0O(1)
MONITORMONITOR1.0.0—
PSYNCPSYNC replicationid offset2.8.0—
REPLCONFREPLCONF3.0.0O(1)
REPLICAOFREPLICAOF <host port | NO ONE>5.0.0O(1)
RESTORE-ASKINGRESTORE-ASKING key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME seconds] [FREQ frequency]3.0.0O(1) to create the new key and additional O(N*M) to reconstruct the serialized value, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1). However for sorted set values the complexity is O(N*M*log(N)) because inserting values into sorted sets is O(log(N)).
ROLEROLE2.8.12O(1)
SAVESAVE1.0.0O(N) where N is the total number of keys in all databases
SHUTDOWNSHUTDOWN [NOSAVE | SAVE] [NOW] [FORCE] [ABORT]1.0.0O(N) when saving, where N is the total number of keys in all databases when saving data, otherwise O(1)
SLAVEOFDeprecated since 5.0.0Use instead: REPLICAOFSLAVEOF <host port | NO ONE>1.0.0O(1)
SLOWLOGSLOWLOG2.2.12Depends on subcommand.
SLOWLOG GETSLOWLOG GET [count]2.2.12O(N) where N is the number of entries returned
SLOWLOG HELPSLOWLOG HELP6.2.0O(1)
SLOWLOG LENSLOWLOG LEN2.2.12O(1)
SLOWLOG RESETSLOWLOG RESET2.2.12O(N) where N is the number of entries in the slowlog
SWAPDBSWAPDB index1 index24.0.0O(N) where N is the count of clients watching or blocking on keys from both databases.
SYNCSYNC1.0.0—
TIMETIME2.6.0O(1)
Cluster — 32 commands
CommandSyntaxSinceComplexity
ASKINGASKING3.0.0O(1)
CLUSTERCLUSTER3.0.0Depends on subcommand.
CLUSTER ADDSLOTSCLUSTER ADDSLOTS slot [slot ...]3.0.0O(N) where N is the total number of hash slot arguments
CLUSTER ADDSLOTSRANGECLUSTER ADDSLOTSRANGE start-slot end-slot [start-slot end-slot ...]7.0.0O(N) where N is the total number of the slots between the start slot and end slot arguments.
CLUSTER BUMPEPOCHCLUSTER BUMPEPOCH3.0.0O(1)
CLUSTER COUNT-FAILURE-REPORTSCLUSTER COUNT-FAILURE-REPORTS node-id3.0.0O(N) where N is the number of failure reports
CLUSTER COUNTKEYSINSLOTCLUSTER COUNTKEYSINSLOT slot3.0.0O(1)
CLUSTER DELSLOTSCLUSTER DELSLOTS slot [slot ...]3.0.0O(N) where N is the total number of hash slot arguments
CLUSTER DELSLOTSRANGECLUSTER DELSLOTSRANGE start-slot end-slot [start-slot end-slot ...]7.0.0O(N) where N is the total number of the slots between the start slot and end slot arguments.
CLUSTER FAILOVERCLUSTER FAILOVER [FORCE | TAKEOVER]3.0.0O(1)
CLUSTER FLUSHSLOTSCLUSTER FLUSHSLOTS3.0.0O(1)
CLUSTER FORGETCLUSTER FORGET node-id3.0.0O(1)
CLUSTER GETKEYSINSLOTCLUSTER GETKEYSINSLOT slot count3.0.0O(N) where N is the number of requested keys
CLUSTER HELPCLUSTER HELP5.0.0O(1)
CLUSTER INFOCLUSTER INFO3.0.0O(1)
CLUSTER KEYSLOTCLUSTER KEYSLOT key3.0.0O(N) where N is the number of bytes in the key
CLUSTER MEETCLUSTER MEET ip port [cluster-bus-port]3.0.0O(1)
CLUSTER MYIDCLUSTER MYID3.0.0O(1)
CLUSTER MYSHARDIDCLUSTER MYSHARDID7.2.0O(1)
CLUSTER NODESCLUSTER NODES3.0.0O(N) where N is the total number of Cluster nodes
CLUSTER REPLICASCLUSTER REPLICAS node-id5.0.0O(N) where N is the number of replicas.
CLUSTER REPLICATECLUSTER REPLICATE node-id3.0.0O(1)
CLUSTER RESETCLUSTER RESET [HARD | SOFT]3.0.0O(N) where N is the number of known nodes. The command may execute a FLUSHALL as a side effect.
CLUSTER SAVECONFIGCLUSTER SAVECONFIG3.0.0O(1)
CLUSTER SET-CONFIG-EPOCHCLUSTER SET-CONFIG-EPOCH config-epoch3.0.0O(1)
CLUSTER SETSLOTCLUSTER SETSLOT slot <IMPORTING node-id | MIGRATING node-id | NODE node-id | STABLE>3.0.0O(1)
CLUSTER SHARDSCLUSTER SHARDS7.0.0O(N) where N is the total number of cluster nodes
CLUSTER SLAVESDeprecated since 5.0.0Use instead: CLUSTER REPLICASCLUSTER SLAVES node-id3.0.0O(N) where N is the number of replicas.
CLUSTER SLOTSDeprecated since 7.0.0Use instead: CLUSTER SHARDSCLUSTER SLOTS3.0.0O(N) where N is the total number of Cluster nodes
READONLYREADONLY3.0.0O(1)
READWRITEREADWRITE3.0.0O(1)
Sentinel — 22 commands
CommandSyntaxSinceComplexity
SENTINELSENTINEL2.8.4Depends on subcommand.
SENTINEL CKQUORUMSENTINEL CKQUORUM master-name2.8.4—
SENTINEL CONFIGSENTINEL CONFIG <SET parameter value [SET parameter value ...] | GET parameter [parameter ...]>6.2.0O(N) when N is the number of configuration parameters provided
SENTINEL DEBUGSENTINEL DEBUG [parameter value [parameter value ...]]7.0.0O(N) where N is the number of configurable parameters
SENTINEL FAILOVERSENTINEL FAILOVER master-name2.8.4—
SENTINEL FLUSHCONFIGSENTINEL FLUSHCONFIG2.8.4O(1)
SENTINEL GET-MASTER-ADDR-BY-NAMESENTINEL GET-MASTER-ADDR-BY-NAME master-name2.8.4O(1)
SENTINEL HELPSENTINEL HELP6.2.0O(1)
SENTINEL INFO-CACHESENTINEL INFO-CACHE nodename [nodename ...]3.2.0O(N) where N is the number of instances
SENTINEL IS-MASTER-DOWN-BY-ADDRSENTINEL IS-MASTER-DOWN-BY-ADDR ip port current-epoch runid2.8.4O(1)
SENTINEL MASTERSENTINEL MASTER master-name2.8.4O(1)
SENTINEL MASTERSSENTINEL MASTERS2.8.4O(N) where N is the number of masters
SENTINEL MONITORSENTINEL MONITOR name ip port quorum2.8.4O(1)
SENTINEL MYIDSENTINEL MYID6.2.0O(1)
SENTINEL PENDING-SCRIPTSSENTINEL PENDING-SCRIPTS2.8.4—
SENTINEL REMOVESENTINEL REMOVE master-name2.8.4O(1)
SENTINEL REPLICASSENTINEL REPLICAS master-name5.0.0O(N) where N is the number of replicas
SENTINEL RESETSENTINEL RESET pattern2.8.4O(N) where N is the number of monitored masters
SENTINEL SENTINELSSENTINEL SENTINELS master-name2.8.4O(N) where N is the number of Sentinels
SENTINEL SETSENTINEL SET master-name option value [option value ...]2.8.4O(1)
SENTINEL SIMULATE-FAILURESENTINEL SIMULATE-FAILURE [crash-after-election | crash-after-promotion | help [crash-after-election | crash-after-promotion | help ...]]3.2.0—
SENTINEL SLAVESDeprecated since 5.0.0Use instead: SENTINEL REPLICASSENTINEL SLAVES master-name2.8.0O(N) where N is the number of replicas.

Where this data comes from

Every row is generated from the Redis 7.2.4 source tree (src/commands/*.json, BSD-3-Clause — the license text ships with this site's source). Complexity strings are the source's own O(…) text, verbatim. Commands added after Redis 7.2 are not listed, because newer Redis source trees use licenses this site does not ship from. Nothing here connects to a Redis server — search, syntax and the builder all run in your browser.

Do it offline:$ redis-cli SET session:42 "alpha" EX 60 NX

How to use it

  1. Type what you're looking for — a command name like zadd, a fragment like kill, or a word from a description such as expiration. Press / to focus the search box; the group menu narrows the tables to one data type at a time.
  2. Read the row. Each one shows the full syntax derived from the Redis source, the version that introduced the command, and the cost the source itself declares for it — and each row keeps a stable anchor like #zadd you can hand to a teammate.
  3. Need a runnable line? Pick a pattern in the builder — SET with expiry, ZADD with score flags, a SCAN loop — fill in the fields, and copy the finished redis-cli command. Invalid values are refused beside the field before they reach a terminal.

All 392 commands of Redis 7.2 on one page, with every syntax line generated from the Redis source itself and the complexity and since-version printed beside each. Search by name or description, narrow to a group, or assemble common commands for redis-cli with guided fields. Everything runs in your browser: nothing you type is sent anywhere, and no Redis server is ever contacted.

How it works

This page is generated from the command metadata that ships inside Redis itself. The Redis 7.2.4 source tree carries one JSON file per command under src/commands/ — 392 of them — declaring its name, group, summary, arity, argument tree, first version and computational cost. A build-time script turns that vendored tree into these tables; no hand-typed row exists on this page.

Syntax lines are rendered from the argument metadata by a small, fixed grammar: square brackets mark an optional part, a pipe separates alternatives, angle brackets wrap a required choice, an UPPERCASE word is a literal token you type as-is, and a trailing [x ...] means the part repeats. The renderer reads the same fields the server's parser is built from, so any line can be checked against its file in the source.

The version pin is a license decision: the Redis 7.2 line is the last series published under the permissive BSD-3-Clause license, and 7.2.4 is the tree vendored, credited and shipped with this site. Later Redis series changed to licenses this project does not redistribute from, so a command introduced after 7.2 does not appear here.

The builder assembles text only. Each of its 20 patterns instantiates one command from typed fields, quotes values so the line survives a POSIX shell intact, and refuses per field what Redis itself would refuse — and a test suite checks every literal token it can emit against the source's argument metadata, so it can never invent an option.

Examples

Cache a value for 60 seconds, only if the key is new
redis-cli SET session:42 "alpha" NX EX 60

NX makes the write conditional on the key not existing; EX 60 sets the expiry in one round trip. SET accepts these options in any order — this builder emits the order the source declares.

Raise scores on a leaderboard without ever lowering one
redis-cli ZADD board GT CH 100 "ada" 95.5 "grace"

GT only applies an update when the new score is greater; CH makes the reply count changed members instead of only added ones. GT and LT cannot ride with NX — the builder refuses that combination the same way the server would.

Walk the keyspace for session keys without blocking Redis
redis-cli SCAN 0 MATCH "user:*" COUNT 100

Start at cursor 0 and feed each reply's cursor back in until it returns 0 again. The pattern is shell-quoted so your terminal can't expand the asterisk before redis-cli sees it.

Put a fresh TTL on a session key, but never create one
redis-cli EXPIRE session:42 60 NX

EXPIRE's NX flag (added in Redis 7.0.0) only sets the timeout when the key has none yet — handy for grace-period logic that must not refresh an existing countdown.

Append a reading to a stream and let Redis pick the ID
redis-cli XADD sensor:1 "*" temp "21"

The * ID asks the server to mint a monotonic entry ID. It is quoted in the emitted line because an unquoted asterisk is a glob in every POSIX shell.

Every example on this page is executed against the same engine that powers the tool, on every build.

Gotchas worth knowing

SCAN, not KEYS, anywhere near production

KEYS walks the entire keyspace in one blocking call — O(N) with the server unable to answer anything else while it runs. SCAN does the same walk in bounded steps with a cursor you feed back in, at the price of possible duplicates and a snapshot-free view. The builder ships a SCAN pattern and deliberately has no KEYS pattern.

Expiry has two resolutions and three answers

EXPIRE counts seconds, PEXPIRE milliseconds, and EXPIREAT/PEXPIREAT take absolute Unix times — pick the wrong one and a timestamp becomes a 54-year countdown. When you read it back, TTL answers -1 for a key with no expiry and -2 for a key that does not exist; treating those two as interchangeable hides real bugs.

GETSET is the pattern, SET … GET is the command

The source marks GETSET deprecated since 6.2.0 and points at SET with the GET option, which does the same swap while also taking expiry flags. Rows this page marks Deprecated carry that ruling straight from the source metadata, replacement included.

CLIENT KILL is one command, not a command with an argument

Redis groups administrative commands into containers — CLIENT, CONFIG, ACL, XINFO — and each subcommand is its own entry with its own arity, since-version and complexity. That is why this page lists CLIENT KILL and CLIENT LIST as separate rows, each with its own #client-kill-style anchor.

Multi-key commands meet hash slots in Cluster

In Redis Cluster, a multi-key call like DEL a b c only works when every key hashes to the same slot. Braces force that: {user:1}.cart and {user:1}.profile hash on the {user:1} part alone, so they travel together. Single-instance Redis ignores the braces entirely.

Common errors

FAQ

Why is a command from Redis 8 missing here?

Because of licensing, not oversight. This page is generated from the Redis 7.2.4 source — the 7.2 line is the last Redis series published under the permissive BSD-3-Clause license. Newer trees moved to licenses this site does not redistribute from, so commands introduced after 7.2 are absent — the page names its source rather than quietly mixing versions.

Does this page talk to a Redis server?

No. There is no connection form, no socket, and no request leaves your browser. Search runs over data shipped with the page, and the builder only writes command text for you to paste into your own redis-cli.

Where do the complexity values come from?

They are the O(…) declarations from each command's metadata file in the Redis source, reproduced verbatim. A few commands declare none, and those rows show a dash instead of an invented figure.

How do I read the syntax notation?

Anything in square brackets is optional; alternatives are separated by a vertical bar; a required choice sits in angle brackets; and x [x ...] means the part may repeat. UPPERCASE words are literal tokens; lowercase words are placeholders for your values — except the geo units m | km | ft | mi and the client connection types such as normal and pubsub, lowercase literals you type exactly as shown.

Can I link a teammate straight to one command?

Yes — every row has a permanent anchor named after the command, like #zadd or #client-kill. The Share button also produces a link that restores your current search text and group choice; it carries nothing else.

Why did my search only match names at first?

The full descriptions load in small per-group files the moment you start searching, so the page itself stays light. Until they arrive the search honestly matches command names only, and a status line under the box says so; once loaded, description text joins the match.

Nothing you paste here leaves this tab. State only ever travels in links you explicitly create.

redis/redis 7.2.4 — src/commands (the vendored source this page is generated from) · Redis 7.2.4 COPYING — BSD-3-Clause, Copyright (c) 2006-2020, Salvatore Sanfilippo (license text ships with this site's source) · Redis command reference — redis.io (external reading; linked, never copied)

Command set: Redis 7.2.4 source (BSD-3-Clause), 392 commands.

Last reviewed: 2026-08-18

esc

Data Formats & Conversion

  • JSON FormatterPretty-print JSON with configurable indentation — big numbers preserved exactly, entirely on this device.Data Formats & Conversion
  • JSON ValidatorSyntax-check JSON with the exact line, column and probable cause of every error — entirely on this device.Data Formats & Conversion
  • JSON MinifierStrip insignificant whitespace from JSON — values and key order byte-identical, gzip savings measured, entirely on this device.Data Formats & Conversion
  • JSON Tree ViewerNavigate huge JSON as a collapsible, searchable tree — copy any value or path, entirely on this device.Data Formats & Conversion
  • JSON EditorEdit JSON in a tree, table or text view — every change re-renders the other two and big numbers stay exact, entirely on this device.Data Formats & Conversion
  • JSON Diff / CompareCompare two JSON documents structurally — key order ignored, big numbers exact, RFC 6902 patch export — entirely on this device.Data Formats & Conversion
  • JSON Repair / FixerTurn almost-JSON into valid JSON with a logged, visible fix for every change — entirely on this device.Data Formats & Conversion
  • JSON SorterSort JSON object keys recursively — ascending or descending, on this device.Data Formats & Conversion
  • JSON Escape / UnescapeBackslash-escape text into a JSON string body — or unescape one back to text — entirely on this device.Data Formats & Conversion
  • JSON Stringify / UnstringifyWrap a JSON document as a quoted, escaped JSON string token — and unstringify it back — entirely on this device.Data Formats & Conversion
  • JSON to One LineCollapse JSON to a single line for logs, env vars and inline config — readable spacing or fully compact, big numbers preserved exactly, entirely on this device.Data Formats & Conversion
  • JSON Flatten / UnflattenFlatten nested JSON to dot- or bracket-path keys and unflatten it back — big numbers exact, entirely on this device.Data Formats & Conversion
  • JSON Graph VisualizerSee any JSON document as an interactive, collapsible node graph — pan, zoom and copy any path, entirely on this device.Data Formats & Conversion
  • NDJSON / JSON Lines ConverterReshape JSON between a single array and one-record-per-line NDJSON — losslessly, with every line validated, entirely on this device.Data Formats & Conversion
  • JSONPath TesterEvaluate a JSONPath expression against your JSON and see every match highlighted in the source — RFC 9535 semantics, entirely on this device.Data Formats & Conversion
  • JSON Path FinderClick any node in a JSON tree to copy its JSONPath, jq, JS, or RFC 6901 JSON Pointer path — entirely on this device.Data Formats & Conversion
  • jq PlaygroundRun jq filters over your JSON in-browser — jq 1.8.2 on WebAssembly, stdout and errors verbatim, entirely on this device.Data Formats & Conversion
  • JSON Schema ValidatorCheck a JSON document against a JSON Schema and see every violation with its data path and schema path — entirely on this device.Data Formats & Conversion
  • JSON Schema GeneratorPaste sample JSON, get a JSON Schema in the draft you target — required derived from what the samples actually show, entirely on this device.Data Formats & Conversion
  • JSON Schema to Sample JSONTurn a JSON Schema into valid example data — one integer seed makes it reproducible, entirely on this device.Data Formats & Conversion
  • JSON Schema to TypeScriptPaste a JSON Schema, get TypeScript types — local $ref and $defs resolved, every dropped keyword named, entirely on this device.Data Formats & Conversion
  • JSON Schema to ZodTurn a JSON Schema into Zod source with z.infer types — every dropped constraint named, entirely on this device.Data Formats & Conversion
  • JSON to TypeScriptPaste sample JSON, get idiomatic TypeScript interfaces — multi-sample optionality and real unions, entirely on this device.Data Formats & Conversion
  • JSON to Go StructGenerate idiomatic Go structs with correct json tags and initialisms from sample JSON — entirely on this device.Data Formats & Conversion
  • JSON to C# ClassesGenerate C# classes or records from sample JSON, matched to System.Text.Json or Newtonsoft — entirely on this device.Data Formats & Conversion
  • JSON to Java POJOGenerate Java POJOs or records with the right annotation stack from sample JSON — entirely on this device.Data Formats & Conversion
  • JSON to Python / PydanticGenerate Pydantic v2 models, dataclasses or TypedDicts from sample JSON — entirely on this device.Data Formats & Conversion
  • JSON to Rust SerdeGenerate Rust serde structs from sample JSON with correct Option<T> optionality and exact 64-bit integers — entirely on this device.Data Formats & Conversion
  • JSON to Kotlin Data ClassGenerate Kotlin data classes with kotlinx.serialization or Jackson annotations from sample JSON — entirely on this device.Data Formats & Conversion
  • JSON to Swift CodableGenerate Swift Codable structs or classes from sample JSON, with CodingKeys for wire names — entirely on this device.Data Formats & Conversion
  • JSON to Zod SchemaPaste sample JSON, get a Zod schema plus z.infer types — optionality from multiple samples, entirely on this device.Data Formats & Conversion
  • JSON to GraphQL SDLPaste sample JSON, get GraphQL SDL types — nullability read from your samples, entirely on this device.Data Formats & Conversion
  • JSON to SQL DDLGenerate CREATE TABLE DDL from sample JSON for four SQL dialects, with three honest shapes for nested data — entirely on this device.Data Formats & Conversion
  • TypeScript to JSON SchemaTurn TypeScript interfaces and type aliases into a JSON Schema or Zod schema — unsupported types are named, never guessed — entirely on this device.Data Formats & Conversion
  • JSON to Protobuf DefinitionTurn sample JSON into a proto3 .proto message with stable field numbers — entirely on this device.Data Formats & Conversion
  • YAML Validator / LinterSyntax-check YAML with the exact line, column and cause of every error — plus lint warnings on valid files, entirely on this device.Data Formats & Conversion
  • YAML FormatterRe-indent YAML without losing comments or rewriting your numbers — entirely on this device.Data Formats & Conversion
  • YAML to JSON ConverterConvert YAML to JSON or JSON to YAML with anchors, multi-document streams and type quirks handled honestly — entirely on this device.Data Formats & Conversion
  • YAML to XML / CSV ConverterConvert YAML to XML, XML back to YAML, or list-shaped YAML to CSV/TSV — every dropped construct counted — entirely on this device.Data Formats & Conversion
  • YAML Diff / CompareCompare two YAML documents structurally — added, removed, changed and retyped keys, order-insensitive by default, entirely on this device.Data Formats & Conversion
  • XML FormatterPretty-print XML without corrupting mixed content, CDATA or comments — entirely on this device.Data Formats & Conversion
  • XML ValidatorCheck XML well-formedness with the exact line, column and paired open-tag position of every error — entirely on this device.Data Formats & Conversion
  • XML MinifierStrip insignificant whitespace from XML — mixed content, CDATA and preserved subtrees byte-identical, savings measured, entirely on this device.Data Formats & Conversion
  • XML Tree ViewerNavigate large XML as a collapsible tree — search names, see namespaces, copy any node's XPath, entirely on this device.Data Formats & Conversion
  • XPath TesterEvaluate an XPath 1.0 expression against your XML and see every matched node with its line and path — namespace prefixes bound explicitly, on this device.Data Formats & Conversion
  • XML DiffCompare two XML documents by structure — added, removed and changed elements, attributes and text, addressed by node path — entirely on this device.Data Formats & Conversion
  • XML Escape / UnescapeEscape text for XML element or attribute contexts — or unescape entities and character references — entirely on this device.Data Formats & Conversion
  • XML to JSON ConverterConvert XML to JSON — and back — with explicit attribute, array, and mixed-content semantics, entirely on this device.Data Formats & Conversion
  • XML to CSV ConverterTurn repeating XML records into CSV, TSV or an .xlsx workbook — you pick the row element — entirely on this device.Data Formats & Conversion
  • CSV to JSON ConverterConvert CSV to JSON or JSON to CSV — streaming to 100 MB, type-safe by default — entirely on this device.Data Formats & Conversion
  • CSV Editor & ViewerOpen a CSV in a grid, edit cells, rows and columns, then export it with your delimiter and quoting intact — entirely on this device.Data Formats & Conversion
  • CSV to SQL ConverterGenerate CREATE TABLE and batched INSERT statements from CSV or JSON, with dialect-correct quoting and escaping — entirely on this device.Data Formats & Conversion
  • CSV to Excel ConverterCSV to XLSX and back without Excel's mangling — leading zeros, IDs and dates survive, entirely on this device.Data Formats & Conversion
  • CSV to Markdown TableTurn CSV or TSV into a GitHub-ready Markdown pipe table — or paste a Markdown table and get CSV back — entirely on this device.Data Formats & Conversion
  • CSV to HTML TableTurn CSV or TSV into a semantic, injection-safe HTML table — or paste a table back and get CSV — entirely on this device.Data Formats & Conversion
  • CSV to TSV ConverterChange a CSV's delimiter to tab, semicolon, pipe or anything you type — re-quoted correctly, entirely on this device.Data Formats & Conversion
  • CSV ValidatorCheck a CSV against RFC 4180 and get every ragged row, stray quote and encoding problem with its row and column — on this device.Data Formats & Conversion
  • CSV Diff / CompareCompare two CSV exports row by row — added, removed and changed rows, cell-level detail, optional key-column match — entirely on this device.Data Formats & Conversion
  • Remove Duplicate Rows (CSV)Drop repeated CSV rows by whole row or chosen columns, then sort and filter what is left — header kept, counts shown, all on this device.Data Formats & Conversion
  • CSV Split & MergeSplit a CSV into parts by rows, part count or size — header repeated in every part — and merge exports back into one file, entirely on this device.Data Formats & Conversion
  • CSV Column ToolsPull one column out of a CSV as a plain list, or drop, reorder, rename and insert columns and download the new file — entirely on this device.Data Formats & Conversion
  • Excel Paste to JSON/MarkdownTurn a range copied from Excel, Google Sheets or Numbers into JSON or a Markdown table — entirely on this device.Data Formats & Conversion
  • TOML to JSON ConverterConvert TOML to JSON or JSON to TOML with tables, dotted keys and all four datetime types handled honestly — entirely on this device.Data Formats & Conversion
  • TOML to YAML ConverterConvert TOML to YAML or YAML to TOML with datetimes, nulls, anchors and comments all accounted for — entirely on this device.Data Formats & Conversion
  • Properties to YAML ConverterConvert .properties to nested YAML or YAML back to .properties — dotted keys, indexed lists and \uXXXX escapes handled honestly — entirely on this device.Data Formats & Conversion
  • Protobuf Wire DecoderDecode protobuf bytes with no .proto — field numbers, wire types and ranked value guesses, entirely on this device.Data Formats & Conversion
  • Avro Schema GeneratorPaste sample JSON, get a valid Avro .avsc — nullable unions with defaults and honest int-versus-long, entirely on this device.Data Formats & Conversion

Encoding & Escaping

  • Base64 EncoderConvert text or files to Base64 with correct Unicode handling — entirely on this device.Encoding & Escaping
  • Base64 DecoderDecode Base64 to text, bytes, or a downloadable file — tolerant of the real-world mess.Encoding & Escaping
  • Base64URL Encoder/DecoderEncode and decode RFC 4648 §5 URL-safe Base64 with JWT-strict padding control — entirely on this device.Encoding & Escaping
  • Base64 to Image ConverterPaste Base64 or a data: URI and see the image instantly — or turn an image file into copy-ready Base64 snippets, on this device.Encoding & Escaping
  • Base64 File ConverterDrop any file and stream it to Base64 with live progress — or turn Base64 back into a named, downloadable file, entirely on this device.Encoding & Escaping
  • Base64 to Hex ConverterPivot Base64 to hex and hex back to Base64 without a text detour — entirely on this device.Encoding & Escaping
  • Base32 Encoder/DecoderDecode and encode Base32 — RFC 4648, base32hex and Crockford, strict or tolerant — entirely on this device.Encoding & Escaping
  • Base58 Encoder/DecoderEncode and decode Base58 with the Bitcoin/IPFS alphabet — leading zeros preserved, entirely on this device.Encoding & Escaping
  • Hex Encoder/Decoder + Dump ViewerConvert bytes to hex and back, and inspect any file in a classic offset/hex/ASCII dump — entirely on this device.Encoding & Escaping
  • Binary Text ConverterTurn binary byte groups into text and text into binary — with decimal, octal and hex views — entirely on this device.Encoding & Escaping
  • URL Encoder/DecoderPercent-encode and decode URLs with the encodeURIComponent vs encodeURI difference made explicit — entirely on this device.Encoding & Escaping
  • HTML Entity Encoder/DecoderConvert characters to HTML entities and back — named, decimal or hex — with a searchable reference table, entirely on this device.Encoding & Escaping
  • HTML Context EscaperEscape a string for the HTML element, attribute, JavaScript or URL context — OWASP output-encoding rules applied per sink, entirely on this device.Encoding & Escaping
  • Punycode / IDN ConverterConvert xn-- domains to Unicode and back, label by label, with mixed-script flags — entirely on this device.Encoding & Escaping
  • Unicode Escape ToolEscape text to \uXXXX, \u{…}, \xXX, CSS, U+ or HTML hex notation and decode any mix of them back — entirely on this device.Encoding & Escaping
  • String Escaper (Multi-language)Escape or unescape a string literal for JSON, JavaScript, Java, C#, C, Python, SQL or POSIX shell — entirely on this device.Encoding & Escaping
  • ROT13 / Caesar CipherRotate text through ROT13, any Caesar shift, ROT5, ROT18 or ROT47 — with an all-25-shifts panel for unknown puzzles, entirely on this device.Encoding & Escaping
  • XOR Encoder / Brute-forcerApply a repeating XOR key to text, hex or Base64, or rank all 256 single-byte keys by printable ratio — entirely on this device.Encoding & Escaping
  • Morse Code TranslatorTranslate text to ITU Morse code and Morse back to text, with tolerant decoding and optional audio — entirely on this device.Encoding & Escaping
  • GZip / zlib ToolDecompress or compress gzip, zlib and raw DEFLATE streams — pastes or files, entirely on this device.Encoding & Escaping
  • Data URI GeneratorTurn any file or text into a self-contained data: URI — MIME sniffed or chosen, Base64 or percent-encoded, entirely on this device.Encoding & Escaping

Hashing & Checksums

  • MD5 Hash GeneratorCompute MD5 checksums of text, hex or Base64 bytes and files up to 64 MB — entirely on this device.Hashing & Checksums
  • SHA-1 Hash GeneratorCompute the SHA-1 digest of text, hex or Base64 bytes — entirely on this device.Hashing & Checksums
  • SHA-256 Hash GeneratorCompute the SHA-256 digest of text or a file — hex and Base64, entirely on this device.Hashing & Checksums
  • SHA-384/512 Hash GeneratorCompute the SHA-512 or SHA-384 digest of text or raw bytes — hex and Base64, entirely on this device.Hashing & Checksums
  • SHA-3 / Keccak GeneratorSee the SHA-3 and Keccak digests of the same bytes side by side — including Ethereum keccak256, computed entirely on this device.Hashing & Checksums
  • CRC CalculatorCompute CRC32, CRC16 or CRC8 with any polynomial, init, reflection and xorout — entirely on this device.Hashing & Checksums
  • File Checksum VerifierDrop a file, paste the published checksum, get a MATCH or MISMATCH verdict — multi-GB downloads verified entirely on this device.Hashing & Checksums
  • Multi-hash GeneratorHash one input with 16 algorithms at once — MD5 to BLAKE3 — and see which rows match a digest you already hold, entirely on this device.Hashing & Checksums
  • HMAC GeneratorCompute HMAC-SHA-256 and family with the key and message decoded exactly as your API sees them — entirely on this device.Hashing & Checksums
  • Hash IdentifierPaste a hash and see every algorithm it could be — prefixes parsed, parameters read, ambiguity shown honestly.Hashing & Checksums

Passwords & Credentials

  • Bcrypt Generator + VerifierGenerate bcrypt hashes at any cost factor and check a password against an existing hash — the password never leaves this device.Passwords & Credentials
  • Argon2 Generator + VerifierHash a password with Argon2id at tunable memory, time and parallelism — or verify an existing hash, on this device.Passwords & Credentials
  • Htpasswd GeneratorBuild .htpasswd lines for Apache or Nginx basic auth — bcrypt, APR1 or SHA-1, hashed on this device.Passwords & Credentials
  • Password GeneratorGenerate provably unbiased, cryptographically secure passwords — on a page that stores nothing and sends nothing.Passwords & Credentials
  • Passphrase Generator (Diceware)Build a memorable passphrase from the EFF long wordlist — with the exact entropy, not a colour-coded guess.Passwords & Credentials
  • Password Strength CheckerSee exactly why a password scores the way it does — named rules, live entropy and an offline crack-time estimate, all on this device.Passwords & Credentials
  • Pwned Password CheckHash a password to its SHA-1 prefix and match a Pwned Passwords range response — entirely on this device.Passwords & Credentials
  • API Key & PIN GeneratorGenerate prefixed API keys and numeric PINs by the batch — on a page that stores nothing and sends nothing.Passwords & Credentials

OTP & 2FA

  • TOTP Generator / DebuggerPaste a Base32 secret and see the live RFC 6238 code, the drift window and every step of the math — on this device only.OTP & 2FA

IDs & Randomness

  • UUID v4 GeneratorGenerate one or 100,000 random v4 UUIDs in every notation a codebase demands — entirely on this device.IDs & Randomness
  • UUID v7 GeneratorGenerate time-sortable v7 UUIDs in bulk — the embedded timestamp decoded live, entirely on this device.IDs & Randomness
  • UUID v1 GeneratorGenerate v1 UUIDs in bulk with timestamp, clock sequence and node decoded live — entirely on this device.IDs & Randomness
  • UUID v3 GeneratorDerive deterministic v3 UUIDs from namespace + name via MD5 for legacy interop — same inputs, same UUID, entirely on this device.IDs & Randomness
  • UUID v5 GeneratorDerive deterministic v5 UUIDs from namespace + name via SHA-1 — the RFC-preferred name-based version, entirely on this device.IDs & Randomness
  • UUID v6 GeneratorGenerate time-sortable v6 UUIDs — v1's fields reordered for index locality, decoded live, entirely on this device.IDs & Randomness
  • UUID Decoder / InspectorPaste any UUID and read its version, variant and embedded timestamp — every notation accepted, entirely on this device.IDs & Randomness
  • GUID GeneratorGenerate .NET-style GUIDs in bulk — uppercase {braces}, registry form and copy-ready C# snippets, entirely on this device.IDs & Randomness
  • ULID Generator + DecoderGenerate time-sortable ULIDs — bulk, monotonic, Crockford base32 — and decode any ULID’s timestamp, entirely on this device.IDs & Randomness
  • Snowflake ID Generator + DecoderDecode a Snowflake ID to its timestamp, worker and sequence, or generate one for the Twitter or Discord epoch — entirely on this device.IDs & Randomness
  • MongoDB ObjectId GeneratorGenerate valid 24-hex MongoDB ObjectIds and decode any ObjectId to its embedded timestamp and BSON structure — entirely on this device.IDs & Randomness
  • Random String GeneratorGenerate cryptographically secure random strings, tokens and raw bytes — on a page that stores nothing and sends nothing.IDs & Randomness
  • Random Number GeneratorGenerate random numbers, roll dice, or shuffle and pick from a list — unbiased and entirely on this device.IDs & Randomness
  • ID Format Comparison HubCompare UUID, ULID, Snowflake and ObjectId on size, sortability, timestamps and use cases — with live samples, entirely on this device.IDs & Randomness

JWT & Tokens

  • JWT DecoderDecode any JWT into header, payload and a plain-language claims table — expiry checked live, zero third-party code on this page.JWT & Tokens
  • JWT VerifierCheck a JWT's signature against your own key — HS, RS, ES, PS or EdDSA — with claim and clock-skew checks, entirely on this device.JWT & Tokens
  • JWT Generator / SignerBuild a header and payload, sign with your own key, and copy the token — the key never leaves this tab.JWT & Tokens
  • JWK GeneratorGenerate a key and get a proper JWK — alg, use and an RFC 7638 kid already stamped, with the JWKS wrapper you actually deploy.JWT & Tokens
  • PEM to JWK ConverterPaste a PEM key or certificate, get a JWK with alg, use and kid stamped — and back again, entirely on this device.JWT & Tokens

PKI Certificates & SSH

  • Certificate DecoderRead what a certificate actually says — who it is for, when it expires, and every extension — without it leaving your device.PKI Certificates & SSH
  • CSR DecoderDecode a PKCS#10 request — subject, key, requested SANs and attributes — and see what a CA will reject, entirely on this device.PKI Certificates & SSH
  • RSA Key GeneratorGenerate an RSA, EC or Ed25519 keypair in your browser and download it as PKCS#8 and SPKI PEM.PKI Certificates & SSH
  • ASN.1 DecoderRead any DER or BER blob as a tag, length and offset tree beside a synchronized hex view — entirely on this device.PKI Certificates & SSH
  • SSH Key GeneratorGenerate an SSH keypair on this device and copy the exact two artifacts SSH consumes: the authorized_keys line and the openssh-key-v1 file.PKI Certificates & SSH

Encryption & PGP

  • AES Encrypt / DecryptEncrypt or decrypt text and files with AES-GCM, CBC or CTR — the passphrase and the data never leave this device.Encryption & PGP
  • RSA Encrypt / DecryptEncrypt a short message with an RSA public key and decrypt it with the private key — RSA-OAEP, entirely on this device.Encryption & PGP

Web Security

  • CSP GeneratorBuild a Content-Security-Policy directive by directive — with real nonce and hash sources, a Report-Only toggle and the server snippet for it.Web Security
  • CSP EvaluatorPaste a policy and read what the browser will enforce, what it will ignore, and every weakness it leaves open — each finding with its CSP Level 3 clause.Web Security
  • Security Headers ExplainerPaste a response header block and read its security posture header by header — present, missing or weak, each verdict citing its spec.Web Security
  • SRI Hash GeneratorHash a script or stylesheet and get the integrity= attribute the browser checks — computed on this device, never uploaded.Web Security
  • CORS TesterDescribe the request, paste the response headers, and see exactly which CORS check the browser fails — on this device.Web Security
  • CORS Header GeneratorEmit a complete CORS configuration for nginx, Apache, Express or Caddy — preflight, Vary: Origin and credentials handled — or read the headers you already have.Web Security

SAML OAuth & OIDC

  • SAML DecoderPaste a SAML blob from a browser trace and read it — both bindings auto-detected, assertion semantics extracted, entirely on this device.SAML OAuth & OIDC
  • PKCE GeneratorMint a PKCE code_verifier and its S256 code_challenge on this device — RFC 7636 lengths, and a verify mode for a pair you already have.SAML OAuth & OIDC

Regex

  • Regex Tester (JavaScript)Test JavaScript regular expressions live — highlighted matches, groups and replace preview, entirely on this device.Regex
  • Regex ExplainerRead someone else's JavaScript regular expression token by token — every group, quantifier and flag spelled out, entirely on this device.Regex
  • Regex VisualizerSee the shape of a regular expression: branches, loops and groups drawn as a railroad diagram you can download as SVG — entirely on this device.Regex
  • Regex Patterns LibraryBrowse copy-paste regex patterns — pragmatic and strict variants, CI-verified match tables and six-language usage for each.Regex
  • Email RegexThe email regex that tells the truth — pragmatic and RFC 5321 strict variants, fifteen CI-verified rows and the live tester preloaded.Regex
  • Phone Number RegexThe E.164 phone regex pair — an optional-plus gate and the strict international form, with honest libphonenumber advice and live testing.Regex
  • IP Address RegexOctet-accurate IPv4 matching — 999.1.1.1 fails; leading-zero-tolerant and canonical variants with CI-verified rows and the live tester.Regex
  • URL RegexA pragmatic http(s) link gate and a strict host-checking variant — CI-verified match rows, six language spellings, live tester preloaded.Regex
  • Date Regex (YYYY-MM-DD)The ISO date shape gate plus a range-checking strict variant — honest about calendars, CI-verified, preloaded in the live tester.Regex
  • Numbers-Only RegexDigits-only validation settled — the five-character gate plus a canonical-integer strict variant, CI-verified rows and live testing.Regex
  • Password RegexLookahead password policies explained honestly — 8-plus and strict 12-plus four-class gates, NIST caveats, safe on-device testing.Regex
  • UUID RegexUUID validation by layout and by meaning — a case-insensitive 8-4-4-4-12 gate plus a version-and-variant strict form, CI-verified.Regex
  • IPv6 RegexFull-form and ::-compressed IPv6 matching per RFC 4291 — the library's honest inversion, CI-verified rows, live tester preloaded.Regex
  • Regex Cheat SheetLook up any JavaScript regex construct — syntax, meaning and a worked example whose result this page computes, with the tester right above the table.Regex
  • Regex Replace & ExtractRun your own pattern over a whole body of text — replace across it, extract every match, or keep only matching lines, entirely on this device.Regex

Time, Date & Scheduling

  • Cron Expression Parser / ExplainerExplain any cron expression in plain English — per-field validation and the next 10 runs in any timezone, with DST flags — entirely on this device.Time, Date & Scheduling
  • Cron Expression GeneratorPick minutes, hours and days visually and get a correct cron expression with plain-English read-back — entirely on this device.Time, Date & Scheduling
  • Quartz Cron ToolParse and build Quartz cron expressions — seconds, year field, ? L W # tokens — with next fire times in any timezone, entirely on this device.Time, Date & Scheduling
  • AWS EventBridge Cron ToolValidate AWS cron() and rate() schedules with EventBridge's real rules — ? required, 1 = Sunday, UTC firing — entirely on this device.Time, Date & Scheduling
  • Jenkins Cron ToolValidate and explain Jenkins build schedules — H hash tokens, aliases and TZ lines — with honest run windows, entirely on this device.Time, Date & Scheduling
  • Spring Cron ToolParse and validate Spring @Scheduled 6-field cron — seconds first, ? equals *, 0 or 7 = Sunday — with next runs in any timezone, entirely on this device.Time, Date & Scheduling
  • Systemd OnCalendar ConverterTurn a crontab schedule into systemd OnCalendar syntax with a ready-to-install .timer unit — entirely on this device.Time, Date & Scheduling
  • Cron Examples LibraryBrowse copy-paste cron schedules — live next runs and Quartz, AWS, Kubernetes and GitHub Actions forms for each.Time, Date & Scheduling
  • Cron Every 5 MinutesThe five-minute cron line ready to paste — */5 * * * * with live next runs and the Quartz, AWS, Kubernetes and GitHub Actions forms beside it.Time, Date & Scheduling
  • Cron Every 30 MinutesHalf-hourly cron settled — */30 * * * * with live next runs, the 0,30 twin spelling, and every scheduler dialect on one page.Time, Date & Scheduling
  • Cron Every HourTop-of-hour cron at a glance — 0 * * * * with live next runs, the @hourly macro, and each dialect's form ready to copy.Time, Date & Scheduling
  • Cron Every Day at MidnightThe daily midnight line — 0 0 * * * with live next runs, whose-midnight caveats and all four dialect forms ready to paste.Time, Date & Scheduling
  • Cron Every MondayMonday cron without numbering doubt — 0 0 * * 1 previewed live, with the Sunday-first dialects called out explicitly.Time, Date & Scheduling
  • Cron Every Weekday at 9amWeekday-morning cron — 0 9 * * 1-5 with live next runs, the whose-9am question answered honestly, and every dialect form.Time, Date & Scheduling
  • Cron First of the MonthMonth-start cron — 0 0 1 * * with live next runs, the @monthly macro and each scheduler's spelling ready to copy.Time, Date & Scheduling
  • Cron Last Day of the MonthNo classic one-liner exists — the honest 28–31 date-guard recipe with live next runs, plus the Quartz and EventBridge L forms.Time, Date & Scheduling
  • Cron Every 90 MinutesNinety minutes takes two cron lines — the exact interleaved pair with live next runs, or one EventBridge rate rule.Time, Date & Scheduling
  • Crontab File ValidatorLint an entire crontab file — env lines, schedules, % gotchas, missing trailing newline — with per-line errors, entirely on this device.Time, Date & Scheduling
  • Cron Timezone ConverterConvert a cron schedule to another timezone — DST handled honestly with dated dual expressions, entirely on this device.Time, Date & Scheduling
  • Unix Timestamp ConverterConvert epoch timestamps to human dates and back — unit auto-detected, exact to the nanosecond, entirely on this device.Time, Date & Scheduling
  • ISO 8601 / RFC 3339 FormatterPaste any date or epoch and read it in every standard form at once — offset decoded, standards checked, entirely on this device.Time, Date & Scheduling
  • Timezone ConverterConvert a date and time between timezones and line up a meeting across cities — DST-aware, entirely on this device.Time, Date & Scheduling
  • Date Difference CalculatorCount the days between two dates — both conventions labeled, inclusive and exclusive — with weekday-only counts and a calendar breakdown, entirely on this device.Time, Date & Scheduling
  • Time Duration CalculatorTurn hh:mm:ss, unit words or ISO 8601 durations into every unit at once — or sum a whole list — entirely on this device.Time, Date & Scheduling
  • Week Number ToolSee the ISO week number for today or any date — US convention beside it — and turn a week number back into its Monday–Sunday dates, on this device.Time, Date & Scheduling
  • Date Add / Subtract CalculatorShift a date by years, months, weeks, days, hours or minutes — end-of-month clamping stated, never guessed — entirely on this device.Time, Date & Scheduling
  • Age CalculatorExact age in years, months and days from a date of birth — Feb 29 and month-end policies stated, never silently picked — entirely on this device.Time, Date & Scheduling
  • Strftime / Format Cheat SheetEvery strftime token with an engine-rendered example, portability columns and a live format preview — entirely on this device.Time, Date & Scheduling
  • Working Days / SLA CalculatorWorking-day counts and SLA deadlines over a calendar you control — weekend sets, paste-in holiday lists, counting conventions stated — entirely on this device.Time, Date & Scheduling
  • Discord Timestamp GeneratorTurn a date, epoch or pasted <t:…> code into all seven Discord timestamp styles — previewed in your zone, entirely on this device.Time, Date & Scheduling

Web & HTTP

  • HTTP Status Codes ReferenceEvery HTTP status code with its meaning, RFC citation, cacheability and handler snippets — searchable instantly, entirely on this device.Web & HTTP
  • HTTP Headers ReferenceEvery HTTP header field with its status, RFC clause and direction — plus builders for Cache-Control, CSP, HSTS and CORS values, all on this device.Web & HTTP
  • Curl to Code ConverterPaste a curl command and read back idiomatic client code in 12 languages — parsed on this device, with every unsupported flag named.Web & HTTP
  • Curl Command BuilderTurn a form into a correct curl command — POSIX-quoted values, per-flag explanations, and a round-trip check — entirely on this device.Web & HTTP
  • HAR File ViewerOpen a .har capture and read the waterfall, per-phase timings, sizes and failures — the file never leaves this device.Web & HTTP
  • URL Parser / InspectorSee every component of any URL — host in punycode and Unicode, decoded query table, homograph check — entirely on this device.Web & HTTP
  • Query String to JSONTurn any query string into structured JSON and back — bracket nesting, array conventions and + handling made explicit — entirely on this device.Web & HTTP
  • User-Agent ParserDecode any user-agent string — or 100,000 log lines — into browser, OS and device fields with bots called out, entirely on this device.Web & HTTP
  • What Is My User AgentSee the user-agent string this browser sends, parsed into browser, OS and device — with screen, locale and Client Hints, read on this device.Web & HTTP
  • MIME Type LookupFind the right Content-Type for any file extension — every known extension, compressibility and copyable server config, straight from mime-db.Web & HTTP
  • Basic Auth Header GeneratorBuild the exact Authorization: Basic line from a username and password — or read one back — with RFC 7617 checks on this device.Web & HTTP

Network, DNS & IP

  • DNS LookupLook up a domain's DNS records from the browser: you run the named resolver's request yourself, and the answer is decoded here.Network, DNS & IP
  • DMARC Record GeneratorCompose or check DMARC, SPF and DKIM records with the risky terms named and the SPF lookup count shown — on this device, with nothing resolved.Network, DNS & IP
  • IPv4 Subnet CalculatorEvery subnet number from one IP and prefix — with the binary math shown, and /31 and /32 handled correctly — entirely on this device.Network, DNS & IP
  • Visual Subnet CalculatorSplit any IPv4 block into a tree, join siblings back, and see what each cloud provider actually reserves — entirely on this device.Network, DNS & IP
  • MAC Address Vendor LookupPaste a MAC in any notation and get the IEEE-registered assignee, the block that covers it, and an honest answer when no vendor exists — on this device.Network, DNS & IP
  • Port Number ReferenceType a port number and see every service the IANA registry lists for it across TCP, UDP and SCTP — plus what really runs there.Network, DNS & IP

CSS Tools

  • CSS Gradient GeneratorCompose linear, radial and conic gradients with multi-stop editing and copy modern CSS — entirely on this device.CSS Tools
  • Box Shadow GeneratorCompose layered CSS box-shadows with live light and dark preview and a smooth-shadow wizard — entirely on this device.CSS Tools
  • Border Radius GeneratorDesign asymmetric 8-value corners and organic blob shapes against a live preview and copy working CSS — entirely on this device.CSS Tools
  • Clip-path GeneratorDraw a clip-path with draggable points on a live preview and copy the CSS — entirely on this device.CSS Tools
  • Glassmorphism GeneratorDesign frosted-glass CSS with live backdrop blur over a busy preview — entirely on this device.CSS Tools
  • Cubic Bezier GeneratorDrag an easing curve, preview the motion and copy cubic-bezier() — plus a modern linear() spring & bounce generator — on this device.CSS Tools
  • CSS Animation GeneratorBuild a @keyframes timeline, tune the animation shorthand and preview it live, then copy working CSS — entirely on this device.CSS Tools
  • Flexbox Playground / GeneratorToggle every flexbox container and item property against a live preview and copy working CSS — entirely on this device.CSS Tools
  • Grid Generator / PlaygroundBuild grid tracks and named template areas against a live preview and copy working CSS — entirely on this device.CSS Tools
  • Aspect Ratio CalculatorReduce any width and height to its simplest ratio and copy modern aspect-ratio CSS — entirely on this device.CSS Tools
  • Px to Rem ConverterPx ↔ rem at any root font size — single values, whole CSS blocks, and a live 1–100 px table — entirely on this device.CSS Tools
  • CSS clamp() CalculatorTurn min and max sizes at two viewports into a correct rem-based clamp() expression, with the math shown — entirely on this device.CSS Tools
  • Fluid Type Scale GeneratorTurn a base size, viewport range and modular ratio into a fluid clamp() type scale, exported as CSS custom-property tokens — entirely on this device.CSS Tools
  • Font Stack GeneratorPick a system or web-safe font stack, preview it in your own fonts, and copy a font-family value with a guaranteed fallback — entirely on this device.CSS Tools
  • CSS FormatterFormat messy or minified CSS, SCSS or LESS to editor-consistent Prettier output — entirely on this device.CSS Tools
  • CSS MinifierMinify CSS with an honest size report — raw, minified and gzip bytes — entirely on this device.CSS Tools
  • CSS ValidatorValidate CSS and see syntax errors, unknown properties and bad values with line and column — entirely on this device.CSS Tools
  • CSS Specificity CalculatorSee the (a,b,c) specificity of any selector, compare two to learn which wins, with a per-token breakdown — entirely on this device.CSS Tools
  • CSS to Tailwind ConverterPaste CSS and map each declaration to Tailwind utility classes, with every unmapped declaration listed honestly — entirely on this device.CSS Tools
  • CSS StatsAnalyze a whole stylesheet on this device: rule, selector and declaration counts, a specificity graph, unique colors and font sizes, and !important totals.CSS Tools

Color Tools

  • Color ConverterPaste any CSS color and read every notation at once — HEX, RGB, HSL, OKLCH, LAB and more — entirely on this device.Color Tools
  • OKLCH Picker / ConverterPick perceptual OKLCH colors and watch the sRGB and Display-P3 gamut boundaries instead of discovering the clip later — entirely on this device.Color Tools
  • Contrast CheckerCheck any two colors against the WCAG 2 contrast ratios for normal text, large text and UI components — entirely on this device.Color Tools
  • APCA Contrast CheckerCompute the APCA Lc value for a text and background pair, with polarity, the font size and weight lookup, and the WCAG 2 ratio beside it — entirely on this device.Color Tools
  • Tints & Shades Scale GeneratorTurn one brand color into an even 50–950 shade ramp interpolated in OKLCH — entirely on this device.Color Tools
  • Color Blindness SimulatorPreview a palette or an image as protanopia, deuteranopia and tritanopia render it — entirely on this device.Color Tools
  • Image Palette ExtractorExtract the dominant colors from any image with share percentages, plus a pixel-exact eyedropper — entirely on this device.Color Tools
  • Named CSS Colors ReferenceAll 148 CSS named colors with hex, rgb, hsl and oklch, plus contrast against white and black — entirely on this device.Color Tools

SVG Tools

  • SVG OptimizerRun SVGO with every toggle explained, measured before/after bytes and a real diff — entirely on this device.SVG Tools
  • SVG to JSX ConverterTurn SVG markup into a React or React Native component — attributes mapped, nothing uploaded.SVG Tools
  • SVG to CSS EncoderEncode an SVG into a url() data URI for background-image, mask-image or a custom property — url-encoded, xmlns-checked, entirely on this device.SVG Tools
  • SVG Viewer and EditorSee any SVG render beside its markup — viewBox and aspect ratio resolved, every script, handler and external reference named, entirely on this device.SVG Tools
  • SVG to PNG ConverterRasterize SVG markup to a PNG at any size, scale or background — rendered by your own browser, never uploaded.SVG Tools
  • Blob GeneratorGenerate a seeded SVG blob, wave or pattern and copy the exact markup — entirely on this device.SVG Tools

HTML & Markup

  • HTML FormatterPretty-print messy or minified HTML into clean, editor-consistent Prettier output — entirely on this device.HTML & Markup
  • HTML MinifierCollapse the whitespace a browser ignores while the whitespace it renders survives — pre, textarea and inline-tag gaps intact, every removal listed and measured.HTML & Markup
  • HTML Entities ReferenceFind the HTML code for any symbol — the named reference, its Unicode name, and its decimal and hex spellings, entirely on this device.HTML & Markup
  • Meta Tag GeneratorBuild a paste-ready <head> block — title, description, canonical and robots — with conflict checks, entirely on this device.HTML & Markup
  • Open Graph PreviewCompose Open Graph and Twitter card tags and preview the card locally — nothing is fetched, nothing uploaded.HTML & Markup
  • HTML Table GeneratorLay out a table in a grid and get accessible markup — captions, header scopes and spans — entirely on this device.HTML & Markup
  • HTML to JSX ConverterTurn HTML into a React component or a Pug template — attributes mapped to React props, entirely on this device.HTML & Markup
  • HTML to Text ConverterTurn HTML into readable plain text with block structure preserved and entities decoded — entirely on this device.HTML & Markup
  • Schema Markup GeneratorFill a typed form and get a valid JSON-LD script block for eight schema.org types, with required fields checked — entirely on this device.HTML & Markup

JavaScript & TypeScript

  • JavaScript BeautifierBeautify messy or minified JavaScript and JSX into clean, editor-consistent Prettier output — entirely on this device.JavaScript & TypeScript
  • JS MinifierMinify JavaScript with Terser and read an honest size report — original, minified and gzip bytes — entirely on this device.JavaScript & TypeScript
  • JavaScript ObfuscatorObfuscate JavaScript to deter casual reading — not encryption — entirely on this device.JavaScript & TypeScript
  • TypeScript to JavaScriptStrip TypeScript types to plain JavaScript as you type — interfaces, generics and annotations gone, your syntax untouched — entirely on this device.JavaScript & TypeScript
  • Keycode / KeyboardEvent InspectorPress any key to see event.key, event.code and legacy keyCode with location and modifier state — entirely on this device.JavaScript & TypeScript
  • Big-O Cheat SheetLook up the time and space complexity of every common data structure and sorting algorithm — best, average and worst case, entirely on this device.JavaScript & TypeScript

Favicons & App Icons

  • Favicon GeneratorTurn one image into the complete modern favicon set — ICO, SVG, Apple touch and PWA icons, manifest and HTML — entirely on this device.Favicons & App Icons
  • Favicon from Text / EmojiType a letter or emoji, pick shape and colors, and download the complete modern favicon set — generated entirely on this device.Favicons & App Icons
  • Web Manifest GeneratorFill in name, colors, display mode and icons and get a valid site.webmanifest plus the link tag — built entirely on this device.Favicons & App Icons
  • App Icon Set GeneratorDrop one 1024px image and download every iOS and Android icon size — Contents.json and mipmap folders included, nothing uploaded.Favicons & App Icons

Server Config & SEO Files

  • Robots.txt Tester (Paste)Check whether a URL is allowed or blocked for any crawler by pasted robots.txt rules — with the deciding rule quoted, entirely on this device.Server Config & SEO Files
  • Robots.txt GeneratorCompose robots.txt groups, paths and sitemap lines from a form, then read the parser's report on the emitted file before you copy it — entirely on this device.Server Config & SEO Files
  • Llms.txt GeneratorBuild an llms.txt index for your site — title, summary and curated link sections — entirely on this device.Server Config & SEO Files
  • Htaccess Redirect GeneratorBuild .htaccess redirect rules — bulk 301/302 maps plus HTTPS, www and trailing-slash canonicals — with paths escaped and rule order checked.Server Config & SEO Files
  • Ads.txt Generator & ValidatorGenerate and validate IAB Tech Lab compliant Authorized Digital Sellers (ads.txt) files — entirely on this device.Server Config & SEO Files
  • Caddyfile GeneratorGenerate modern Caddy web server configurations with automated HTTPS, reverse proxy forwarding, compression, and security headers.Server Config & SEO Files

Docker

  • Docker Run to Compose ConverterConvert docker run commands into a modern compose.yaml with a flag-by-flag conversion report — entirely on this device.Docker
  • Compose to Docker Run ConverterTurn compose services back into docker run commands with a flag-by-flag conversion report — entirely on this device.Docker
  • Compose to Kubernetes ConverterConvert a compose file into Kubernetes manifests with Kompose-compatible semantics — entirely on this device.Docker
  • Dockerfile LinterLint a Dockerfile against 27 hadolint-compatible rules with line-anchored findings — entirely on this device.Docker
  • Dockerfile GeneratorPick a stack, choose the options, get a commented multi-stage Dockerfile — entirely on this device.Docker
  • Dockerignore GeneratorGenerate clean, production-shaped .dockerignore files with stack presets to shrink build contexts and protect secrets.Docker
  • Compose Validator / FormatterValidate and format compose.yaml against the official compose-spec schema — entirely on this device.Docker
  • Docker Healthcheck GeneratorGenerate robust Dockerfile HEALTHCHECK and docker-compose health probes with presets for Node, Postgres, Redis, and MySQL — entirely in your browser.Docker
  • Docker EXPOSE vs Ports ExplainerUnderstand container port exposure, host publishing (-p), interface binding, and firewall implications — entirely on this device.Docker
  • Docker Image Name Parser & FormatterParse, decompose, and format OCI and Docker image references into canonical registry, namespace, and tag components — entirely on this device.Docker

Kubernetes

  • Kubernetes CronJob HelperEdit a CronJob schedule with a live plain-English readout, timezone-aware next runs and a ready-to-apply manifest — entirely on this device.Kubernetes
  • Kubernetes Manifest GeneratorFill a guided form, get schema-validated Deployment, Service and Ingress YAML — entirely on this device.Kubernetes
  • Kubernetes YAML ValidatorCheck manifests against strict per-kind Kubernetes schemas with line-anchored findings — entirely on this device.Kubernetes
  • Kubernetes Resource CalculatorTurn usage numbers into requests, limits and quota YAML with the QoS class explained — entirely on this device.Kubernetes
  • Kubernetes RBAC Viewer & Role BuilderVisualize Kubernetes Role and ClusterRole permissions as a security matrix or build least-privilege RBAC YAML safely in your browser.Kubernetes
  • Kubectl Command BuilderCompose kubectl commands task-first and keep the cheat sheet at hand — entirely on this device.Kubernetes
  • Kubernetes Secret Base64 ToolEncode and decode Secret values with the YAML wrapper handled and the newline trap defused — entirely on this device.Kubernetes
  • API Deprecation CheckerFind deprecated apiVersions in pasted manifests and get the exact replacement — entirely on this device.Kubernetes
  • Pod QoS Class CheckerDeduce Kubernetes QoS classes (Guaranteed, Burstable, BestEffort) and node eviction priorities from container resource specs — entirely on this device.Kubernetes
  • Kubernetes Taints & Tolerations SimulatorSimulate pod scheduling against tainted nodes, verify matching logic, and output clean toleration YAML — entirely on this device.Kubernetes
  • Pod CIDR PlannerPlan Kubernetes Cluster Pod CIDR topologies, calculate max node capacity, subnet slices, and address exhaustion limits — entirely on this device.Kubernetes
  • Kubernetes Label Selector TesterTest equality-based and set-based Kubernetes label selector queries against pod metadata with matched resource breakdowns — entirely on this device.Kubernetes

Git & Version Control

  • Git Undo Commit & Command BuilderPick the task, get the exact git command — with safety labels and a verify step.Git & Version Control
  • Gitignore GeneratorMulti-select your stacks and get one merged, deduplicated .gitignore — with every rule explained, not just dumped.Git & Version Control
  • Conventional Commits HelperCompose a spec-correct Conventional Commits message from a form — or paste one and lint it with commitlint-compatible checks.Git & Version Control
  • Semver ToolkitValidate versions, compare precedence, test npm ranges — caret vs tilde made explicit — and calculate bumps.Git & Version Control
  • Changelog GeneratorPaste git log output, get a grouped CHANGELOG.md section — Conventional Commits sorted into Features, Fixes and Breaking Changes.Git & Version Control
  • Git Config GeneratorGenerate an optimized .gitconfig with identity, default branch, pull rebase, and time-saving aliases.Git & Version Control
  • Gitattributes GeneratorGenerate cross-platform .gitattributes configurations with normalized line endings, Git LFS tracking, and binary guards.Git & Version Control
  • Git Branch Naming Rule Builder & ValidatorCompose and validate git branch names against team conventions and git-check-ref-format syntax rules — entirely on this device.Git & Version Control
  • Git URL ConverterConvert Git repository URLs instantly between SSH, HTTPS, and Web formats with organization and repository parsing.Git & Version Control

CI/CD

  • GitHub Actions Cron HelperCompose a correct on.schedule cron for GitHub Actions — local time to UTC, DST duality, next runs and YAML — entirely on this device.CI/CD
  • GitHub Actions Workflow GeneratorCompose a workflow YAML from triggers, a stack preset and jobs — with GitHub's real constraints checked as you build.CI/CD
  • GitLab CI Generator / ValidatorBuild a .gitlab-ci.yml from stages, jobs and rules — or paste yours and validate it against the GitLab CI schema.CI/CD
  • Dependabot Config GeneratorBuild a valid dependabot.yml — ecosystems, directories, schedules, groups and ignore rules — without memorizing the options reference.CI/CD
  • CI Workflow Validator (Multi-CI)Paste a CI workflow and validate it against its vendored SchemaStore schema — GitHub Actions, GitLab CI, CircleCI and more.CI/CD
  • CODEOWNERS File GeneratorBuild production-grade CODEOWNERS files for GitHub, GitLab, and Bitbucket with path rules and team handles — entirely on this device.CI/CD
  • Pre-Commit Config GeneratorBuild production-grade .pre-commit-config.yaml hook configurations with curated multi-language presets — entirely on this device.CI/CD

Linux & CLI

  • Chmod CalculatorConvert file permissions between checkbox, octal and symbolic forms, decode ls -l strings, and copy the exact chmod command — entirely on this device.Linux & CLI
  • Systemd Unit GeneratorFill in what your service does and get a .service unit with each directive explained and cited — built entirely on this device.Linux & CLI
  • Sed TesterWrite a sed script, paste your text, and watch every address, substitution and hold-space command run on this device.Linux & CLI
  • Awk TesterRun real awk on your own text in this tab — fields, BEGIN/END, printf and arrays, with stdout, stderr and the exit code shown.Linux & CLI
  • Tar Command BuilderPick the task and get the exact tar command — quoted for POSIX shells, with bsdtar and GNU tar shown separately where they differ.Linux & CLI
  • Find Command BuilderDescribe what you are looking for and get the find command, with every predicate explained and the destructive actions marked.Linux & CLI
  • Rsync Command BuilderPick the sync you mean and get the rsync command — the -a flags spelled out, the dangerous ones marked, and a dry run offered first.Linux & CLI
  • FFmpeg Command BuilderPick the job — convert, extract audio, scale, trim, GIF, compress or strip metadata — and copy the ffmpeg command; nothing is transcoded on this page.Linux & CLI
  • OpenSSL Command BuilderPick a PKI job and read off the exact openssl line — every flag explained, quoting handled, and nothing executed on this page.Linux & CLI
  • Bash Parameter Expansion ExplainerEvery ${…} form — defaults, substrings, pattern removal, substitution — with what it does, which bash added it, and a worked example.Linux & CLI
  • Exit Code & Signal ReferenceYour process exited 137 — this page says what killed it, how the 128+N signal band works, and where macOS and Linux numbering differs.Linux & CLI
  • Bash getopts Script BuilderScaffold POSIX-compliant, error-hardened Bash CLI scripts with getopts option parsing and help menus — entirely on this device.Linux & CLI
  • Bash Test Operators ReferenceInteractive reference for Bash conditional test operators: file, string, and integer comparisons in [ ... ] and [[ ... ]].Linux & CLI
  • ANSI Color Codes & Terminal FormatterInteractive ANSI escape sequence generator for terminal styling, 16/256/TrueColor palettes, and code snippets — entirely on this device.Linux & CLI
  • Linux Sysctl & Ulimit Tuner ReferenceInteractive kernel tunables reference for sysctl.conf and limits.conf covering network performance and memory — entirely on this device.Linux & CLI
  • SSHD Hardening Config GeneratorGenerate production-grade, CIS and Mozilla compliant OpenSSH server (sshd_config) hardening configurations.Linux & CLI
  • Linux /etc/fstab Generator & ValidatorGenerate and validate Linux /etc/fstab mount entries with persistent UUIDs, mount options, and boot safety linting — entirely on this device.Linux & CLI
  • Linux iptables & UFW Rule GeneratorGenerate secure iptables, UFW, and nftables firewall rules with stateful connection tracking and rate limiting — entirely on this device.Linux & CLI
  • SSH / SCP Command BuilderConstruct syntactically validated, flag-optimized SCP and Rsync remote copy commands with port, key, and protocol options — entirely on this device.Linux & CLI

SQL & Databases

  • SQL FormatterPretty-print or minify SQL across 13 dialects with configurable style — entirely on this device.SQL & Databases
  • SQL to ER DiagramTurn CREATE TABLE DDL into a crow's-foot ER diagram — keys, foreign-key cardinality and SVG export, entirely on this device.SQL & Databases
  • Connection String BuilderBuild or parse PostgreSQL, MySQL, MongoDB, Redis, SQL Server and JDBC connection strings with correct percent-encoding — entirely on this device.SQL & Databases
  • SQLite Viewer / PlaygroundOpen a .sqlite file, browse tables and run real SQL in your browser — SQLite compiled to WebAssembly, nothing uploaded.SQL & Databases
  • SQL-on-CSV Workbench (DuckDB)Run real SQL on CSV and Parquet files in your browser with DuckDB — joins, group-bys and window functions, nothing uploaded.SQL & Databases
  • SQL Syntax CheckerCheck SQL syntax per dialect — unbalanced quotes, clause order and dialect slips flagged with line and column, entirely on this device.SQL & Databases
  • EXPLAIN Plan VisualizerPaste EXPLAIN ANALYZE output and see the plan as a tree with per-node timing, rows and hot spots — entirely on this device.SQL & Databases
  • DDL to ORM ModelsConvert CREATE TABLE DDL into Prisma schema, SQLAlchemy models or TypeORM entities — with a cited type mapping, entirely on this device.SQL & Databases

Text & Writing

  • Word / Character CounterLive word, character, sentence and byte counts with platform limit meters — entirely on this device.Text & Writing
  • Case ConverterConvert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case and more — every variant at once, entirely on this device.Text & Writing
  • Text Diff / CompareCompare two texts or files side by side or inline — line, word or character granularity — entirely on this device.Text & Writing
  • Remove Duplicate LinesDeduplicate any list with explicit case, trim and Unicode options — order preserved, removed lines auditable, entirely on this device.Text & Writing
  • Sort LinesSort any list alphabetically, naturally, numerically, by length, or shuffle it — locale-aware and stable, entirely on this device.Text & Writing
  • Line Break ToolsRemove, add, join or split line breaks — hard-wrapped paste to flowing text, columns to SQL IN lists — entirely on this device.Text & Writing
  • Remove Extra Spaces (Whitespace Tools)Trim, collapse and normalize spaces, tabs, empty lines and invisible characters — entirely on this device.Text & Writing
  • Text ReverserReverse any text by characters, words, each line, or line order — grapheme-safe, entirely on this device.Text & Writing
  • Upside Down TextFlip your text upside down or mirror it into copy-paste Unicode for social bios — entirely on this device.Text & Writing
  • Slug GeneratorTurn any title into a clean URL slug — language-aware diacritics folding, batch mode with CSV — entirely on this device.Text & Writing
  • Remove Accents & PunctuationStrip diacritics and punctuation from any text — independent toggles, base letters kept — entirely on this device.Text & Writing
  • Word Frequency AnalyzerRank how often each word appears — case-folding, stopword and top-N filters, CSV export — entirely on this device.Text & Writing
  • Email / URL / Phone ExtractorPull every email, URL and phone number out of messy text — dedupe, count and copy each list, entirely on this device.Text & Writing

Fake & Mock Data

  • Lorem Ipsum GeneratorGenerate placeholder text by paragraphs, sentences, words, or an exact character budget — entirely on this device.Fake & Mock Data
  • Themed Ipsum GeneratorGenerate themed placeholder text — hipster, corporate, tech, pirate, or bacon — by paragraphs, sentences, or words, entirely on this device.Fake & Mock Data
  • Fake Name GeneratorGenerate random names by locale and gender — seeded, reproducible, entirely on this device.Fake & Mock Data
  • Fake Address GeneratorGenerate synthetic street addresses by locale — components and a formatted block, seeded and reproducible, entirely on this device.Fake & Mock Data
  • Fake User Profile GeneratorGenerate a complete fake identity — name, email, avatar, address, phone, company — as a card or JSON, seeded and reproducible, entirely on this device.Fake & Mock Data
  • Mock Data GeneratorBuild a schema and generate realistic fake data as CSV, JSON, SQL, or XML — seeded, reproducible, entirely on this device.Fake & Mock Data
  • JSON Data GeneratorGenerate fake JSON from a small template of Faker tokens and repeat() — seeded, reproducible, entirely on this device.Fake & Mock Data

Markdown & Docs

  • Markdown Editor + PreviewWrite Markdown beside a sanitized live preview with scroll that stays in sync — entirely on this device.Markdown & Docs
  • Markdown to HTML ConverterConvert GitHub-flavored Markdown to clean, sanitized HTML with a faithful preview — entirely on this device.Markdown & Docs
  • HTML to Markdown ConverterTurn HTML into GitHub-flavoured Markdown — headings, nested lists, code fences and pipe tables — with everything Markdown cannot say named and counted.Markdown & Docs
  • Markdown Table GeneratorBuild a GFM table in a visual grid — paste straight from Excel or Google Sheets — entirely on this device.Markdown & Docs
  • Markdown TOC GeneratorTurn your headings into a Markdown table of contents — GitHub and GitLab anchor styles side by side, entirely on this device.Markdown & Docs
  • README GeneratorPick the sections a project README needs, order them with the keyboard, and copy the Markdown — entirely on this device.Markdown & Docs
  • GitHub Badge GeneratorDesign a badge, watch it render here as SVG, and copy the shields.io URL or the ready-to-paste Markdown — nothing is fetched from this page.Markdown & Docs
  • GitHub Profile README GeneratorBuild the README for your username/username repo — sections, badges and stats-card links — previewed entirely on this device.Markdown & Docs
  • Mermaid Diagram PreviewType Mermaid diagram text, or paste a whole Markdown file and step through its mermaid fences — the renderer loads only when you ask it to.Markdown & Docs

Unicode & Characters

  • String / Unicode InspectorBreak any string into per-character code points, categories, byte lengths and escapes — entirely on this device.Unicode & Characters
  • Unicode Character LookupPaste a character, type U+2014 or search by name, and get its Unicode name, block, script, category and every escape spelling — all on this device.Unicode & Characters
  • Zalgo Text GeneratorTurn any text into zalgo — cursed, glitchy Unicode — by stacking combining marks, with up/mid/down intensity and a reproducible seed, entirely on this device.Unicode & Characters
  • Fancy Text GeneratorTurn text into bold, italic, script, circled and fullwidth Unicode styles for social bios and usernames — every style at once, entirely on this device.Unicode & Characters
  • Emoji PickerEvery Emoji 17.0 character, searchable by name, tag or shortcode — click to copy the emoji, its shortcode or its code points, entirely on this device.Unicode & Characters
  • Invisible Character DetectorReveal and strip zero-width, bidi and other hidden characters — code point, name and position for every hit, entirely on this device.Unicode & Characters
  • ASCII Table ReferenceEvery ASCII code 0–127 with its decimal, hex, octal and binary value, glyph and control-code name — searchable instantly, entirely on this device.Unicode & Characters
  • ASCII Art GeneratorTurn text into big ASCII-art banners with built-in monospace fonts — entirely on this device.Unicode & Characters

Numbers & Units

  • Number Base ConverterConvert between binary, octal, decimal, hex and any base 2–36 — exact at any size, entirely on this device.Numbers & Units
  • Roman Numeral ConverterConvert Roman numerals to numbers and back — 1 to 3,999 in standard form, entirely on this device.Numbers & Units
  • Data Size ConverterConvert MB, GB and TB across SI (1000) and binary IEC (1024) units — exact to the last digit, entirely on this device.Numbers & Units
  • Download Time CalculatorEnter a file size and a transfer rate — Mbps or MB/s — and get the download time with the bits-vs-bytes math shown, entirely on this device.Numbers & Units
  • IEEE-754 Float InspectorSee any float's sign, exponent and mantissa bits and its exact decimal value — 32-bit or 64-bit, entirely on this device.Numbers & Units
  • Bitwise CalculatorRun AND, OR, XOR, NOT and shifts on integers in any base at 8-64 bit width — entirely on this device.Numbers & Units
  • Percentage CalculatorPercent of a number, what percent one value is of another, percent change, and adding or subtracting a percentage — worked exactly on this device.Numbers & Units

QR & Barcodes

  • QR Code GeneratorTurn any link or text into a permanent, static QR code — crisp SVG or high-resolution PNG, no signup, no expiry, entirely on this device.QR & Barcodes
  • WiFi QR Code GeneratorType your network name and password and get a printable WiFi QR code guests can scan to join — generated entirely on this device.QR & Barcodes
  • vCard QR Code GeneratorTurn contact details into a QR code that saves straight to the address book — vCard 3.0, generated entirely on this device.QR & Barcodes
  • SMS QR Code GeneratorCreate a QR code that opens a prefilled text message — number and body set by you, generated entirely on this device.QR & Barcodes
  • Email QR Code GeneratorCreate a QR code that opens a prefilled email — address, subject and body set by you, generated entirely on this device.QR & Barcodes
  • Location QR Code GeneratorTurn coordinates into a QR code that opens the point in any map app — geo: URI, generated entirely on this device.QR & Barcodes
  • Event QR Code GeneratorCreate a QR code that adds an event to the calendar — title, time and place in a standard VEVENT, generated on this device.QR & Barcodes
  • QR Code ReaderDrop a photo or point your camera and read any QR code — decoded on this device with open-source ZXing, never uploaded.QR & Barcodes
  • Barcode GeneratorPick a symbology, type your data and download a print-ready barcode — check digits computed and validated on this device.QR & Barcodes
  • Bulk QR GeneratorUpload a CSV and download a ZIP of QR codes — one per row, named by your chosen column, generated entirely in your browser.QR & Barcodes

Miscellaneous

  • Phone Number FormatterPaste a number, pick a region, and read every canonical form plus number type and an honest valid-or-possible verdict — parsed entirely on this device.Miscellaneous

Infrastructure & Cloud

  • HCL / Terraform Converter + FormatterConvert HCL to JSON and format Terraform files with the real HashiCorp HCL library — compiled to WebAssembly, running locally.Infrastructure & Cloud
  • AWS IAM Policy GeneratorCompose an IAM policy statement by statement — actions, resources and conditions — with the JSON structure checked as you build.Infrastructure & Cloud
  • IAM Policy Explainer / LinterPaste an IAM policy and read it in plain English — statement by statement — with wildcard and risk findings, each one cited.Infrastructure & Cloud
  • AWS S3 Bucket Policy GeneratorGenerate secure AWS S3 bucket policies for HTTPS enforcement, CloudFront OAC, and IP whitelisting — entirely on this device.Infrastructure & Cloud
  • AWS S3 CORS Configuration GeneratorGenerate AWS S3 CORS configurations in JSON and XML for web apps, SPAs, and cross-origin uploads — entirely in your browser.Infrastructure & Cloud
  • Terraform Backend Block GeneratorGenerate secure remote state backend blocks for AWS S3, GCS, Azure, and HCP Terraform with locking and encryption.Infrastructure & Cloud
  • Terraform Version Constraint HelperEvaluate Terraform pessimistic (~>) operators, test candidate versions, and build required_providers blocks.Infrastructure & Cloud
  • Terraform tfvars GeneratorParse variables.tf declarations and scaffold clean terraform.tfvars or JSON files with comments and default values.Infrastructure & Cloud

Realtime WS & SSE

  • WebSocket TesterCompose frames, script replies and step a WebSocket session on this device — with the handshake key computed and every close code decoded.Realtime WS & SSE
  • Socket.IO TesterDecode any Socket.IO wire packet into type, namespace, ack id and args — or build one from an event form — right on this device.Realtime WS & SSE
  • SSE / EventSource TesterPaste a raw text/event-stream transcript and see every event parsed by the spec grammar — then replay it with real timing, all on this device.Realtime WS & SSE

APIs & Protocols

  • OpenAPI Validator & ViewerLint a Swagger 2.0 or OpenAPI 3.x spec against spec-cited rules and browse it as docs — findings jump to the exact line, entirely on this device.APIs & Protocols
  • Swagger 2 to OpenAPI 3 ConverterUpgrade a Swagger 2.0 spec to OpenAPI 3.0 with every mapping shown — servers, requestBody, components — without the spec leaving this device.APIs & Protocols
  • OpenAPI Mock Response GeneratorTurn the schemas in your OpenAPI spec into realistic example payloads — seeded, deterministic and format-aware — without hosting anything.APIs & Protocols
  • OpenAPI to Client SnippetsPick any operation in your OpenAPI spec and get a ready request snippet — fetch, axios, curl or Python requests — parameters and auth placeholders included.APIs & Protocols
  • GraphQL FormatterFormat or minify GraphQL queries and SDL with a canonical printer — errors pinned to line and column, entirely on this device.APIs & Protocols
  • GraphQL Schema VisualizerSee your GraphQL schema as an interactive type graph — fields, relations and reachability from Query — from pasted SDL or introspection JSON.APIs & Protocols
  • GraphQL to TypeScriptGenerate TypeScript types from GraphQL SDL — objects, inputs, enums, unions and operation result types — with nullability mapped exactly.APIs & Protocols
  • gRPC Status Codes ReferenceAll 17 gRPC status codes with meaning, retry guidance, common causes and per-language constants — searchable instantly on this device.APIs & Protocols
  • Webhook Signature VerifierRecompute a Stripe, GitHub or Slack webhook signature from the raw payload and your secret — and see exactly why it does or does not match.APIs & Protocols

NoSQL

  • SQL to MongoDB ConverterTranslate SQL SELECT statements into MongoDB find() or aggregation pipelines for mongosh — entirely on this device.NoSQL
  • Mongo Query FormatterFormat MongoDB shell queries with ISODate, ObjectId and NumberLong kept intact — where plain JSON formatters choke, entirely on this device.NoSQL
  • Redis Command ReferenceSearch every Redis 7.2 command with syntax, complexity and since-version, and build common commands for redis-cli — entirely on this device.NoSQL
  • DynamoDB JSON ConverterConvert DynamoDB marshalled JSON to plain JSON and back — S, N, B, M, L and set types handled with number precision preserved, on this device.NoSQL

Images & Media

  • Image Resizer / CropperResize, crop, rotate and flip any image to exact pixels or social presets — processed on this device, never uploaded.Images & Media
  • EXIF Viewer / StripperSee every EXIF tag in a photo — including GPS — and strip metadata losslessly. Photos are read on this device, never uploaded.Images & Media
  • OG Image GeneratorType a title, pick a template and export a pixel-exact 1200×630 Open Graph image — rendered entirely in your browser.Images & Media
  • Screenshot BeautifierDrop a screenshot, add a window frame, gradient background and shadow, and export a share-ready PNG — all on this device.Images & Media
  • Code Screenshot GeneratorPaste code, pick a theme and window style, and export a crisp PNG or SVG — highlighted and rendered entirely on this device.Images & Media

Pages

  • All tools/tools
  • Privacy/privacy
  • Home/