If it doesn't state a voltage, you can only guess. . . And a guess is just that.
There's no secret, invisible writing. . . And it's not written in the dashes and dots. If it's something you need to replace, then just replace it with a higher voltage rating than you expect it to need.
All electrolytics that I've seen give the rated voltage (in V - volts or WV - working volts=same thing) And you can get ceramics rated at 4Kv, which should be high enough for most applications.
If you're replacing a particular capacitor in a specific piece of equipment, and you're not sure what to use. . . just ask on here, give as much info as possible, and I'm sure the more experienced members will be pleased to point you in the right direction. . .
Or just do what Hero999 suggested, but don't forget to note the voltage at which the cap exploded