Is there any command to get a random number from omnibar?

E.g. like how we can type 21 + 56 and it will show 77:

enter image description here



You are now able to type random number generator into Google to open an interface where you can generate a number between your desired minimum and maximum:

enter image description here

You can also search for:

  • flip a coin to roll a 2-sided dice, or;

  • roll a dice to roll a 6-sided die.

You could also use Google to find a site like random.org (which would probably work a lot better), or generate one with the JavaScript Console by entering Math.ceil(Math.random()*n) where n is the maximum number that you would want to generate.

| improve this answer | |

I can't find anything to suggest that you can do it with Google, but random.org has a random number generator on their home page that you can select start and end values and "roll" to get a number between.

They also have coin flippers and other random number related stuff.

Looks like the google calculator has a lot of features but random numbers is not one of them.

| improve this answer | |

Google does not have a function of random number generation. Instead, you can use Wolfram Alpha.

For example, this query generates a random real number between 0 and 1. Again, this query generates a random integer number between 0 and 100.

| improve this answer | |
  • Is this real random like random.org or pseudorandom (like what Google already has)? – Pacerier Jan 3 '16 at 22:05

Bookmark the following link. It will generate a random number between 1 and ? from your browser.

| improve this answer | |
  • This is quite "troublesome" actually.... – Pacerier Jan 3 '16 at 21:51

Google can roll a six-sided die, fyi.

Using Google voice search: "OK Google roll a die" Using Google search box: "roll a die"

| improve this answer | |
  • Are you talking about phones? This doesn't seem to work with google search or omnibar. – Pacerier Nov 23 '15 at 21:23
  • I just typed 'roll a die' into the Chrome omnibox on my Chromebook and it worked for me. – Chris Morris Nov 25 '15 at 1:50
  • @pacerier: It may be a regional thing. – ale Nov 25 '15 at 2:23
  • @AlE., Seems that the update has reached here now. Nice, we can "flip a coin" too. – Pacerier Jan 3 '16 at 22:01

Google recognizes the phrase "random number x to y" and returns the expected result. It also provides a little interface to generate more numbers in the same range:

Google Random Numbers

| improve this answer | |

type "generate a random number" in the search bar.

generate a random number with google

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.