Brian Dunning's FileMaker Custom Functions

GeneratePassword ( Len ; Letters ; Numbers ; Symbols )

Password generator

  Average rating: 4.5 (11 votes) Log in to vote

Miguel Angel Fernandez   Miguel Angel Fernandez - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
GeneratePassword ( 20 ; 3 ; 0 ; 0 )
GeneratePassword ( 20 ; 3 ; 1 ; 0 )
GeneratePassword ( 20 ; 3 ; 1 ; 1 )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

A tail recursive function that creates random passwords up to 49999 characters long. It can be set to include letters, numbers and symbols.
Comments to



suresh   suresh
Jun 20, 2019
I have used this function in my existing database. I have used like this "GeneratePassword ( 8 ; 3 ; 1 ; 1 )" in my script, sometimes it will not include the symbols.
Miguel Angel Fernandez   Miguel Angel Fernandez, n/a
Mar 18, 2020
Hi, my apologyze for the delayed answer. Yep, sometimes that may happen when the password length is too short.
Looking forward to modifying the formula.
Kind regards,

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: